Webhook management

Register the URL for the game to receive notifications

post

Register the URL for the game to receive notifications

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Header parameters
x-mythical-environment-idstring · uuidRequired

Identifier for the environment that this request should interact with

Body
urlstring · stringRequired

url to send service events to

authorizationHeaderNamestring · stringOptional

header name to pass for authorization (if any)

authorizationKeystring · stringOptional

authorization header value (if any)

Responses
200

Success

application/json
post
/v1/webhook
200

Success

Update the URL for the game to receive notifications

put

Update the URL for the game to receive notifications

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Header parameters
x-mythical-environment-idstring · uuidRequired

Identifier for the environment that this request should interact with

Body
urlstring · stringRequired

url to send service events to

authorizationHeaderNamestring · stringOptional

header name to pass for authorization (if any)

authorizationKeystring · stringOptional

authorization header value (if any)

Responses
200

Success

application/json
put
/v1/webhook
200

Success

Remove the URL for the game to receive notifications

delete

Remove the URL for the game to receive notifications

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Header parameters
x-mythical-environment-idstring · uuidRequired

Identifier for the environment that this request should interact with

Responses
delete
/v1/webhook
204

Success

No content

Related content: Webhooks structure and how to use

Last updated