Webhooks

Create a webhook endpoint

Creates a webhook endpoint in the API key's derived scope (personal -> user, developer-app -> game, league-operator -> league). Returns the signing secret ONCE. Requires the webhooks.manage permission and the webhooks feature.

post/webhooks

Request body

urlstring required

HTTPS endpoint URL. Private/loopback/metadata hosts are rejected.

eventsstring[] required

Subscribed event tokens: exact catalog names (e.g. match.completed) or family wildcards (e.g. match.*). At least one required.

labelstring

Optional human label for the endpoint.

Response

The created endpoint's id and one-time signing secret.

idstring required

The endpoint id the secret belongs to.

signingSecretstring required

Plaintext signing secret. Shown ONCE - store it now.

secretPrefixstring required

First 8 chars of the new signing secret.

Changes