POST/webhooks
Also known as: callback, notifications
Register a new webhook. The server will POST WebhookCallDto payloads to url whenever a relevant event occurs in any tournament owned by the API token user.
Body:
name(required, non-empty)url(required, must be a valid URL)authToken(optional) — forwarded asAuthorizationheader when calling your endpoint
Request body
Section titled “Request body”{ "name": "OBS Overlay", "url": "https://overlay.example.com/hook", "authToken": "shared-secret"}Responses
Section titled “Responses”{ "_id": "65f1c2a0e1b2c3d4e5f60718", "name": "OBS Overlay", "url": "https://overlay.example.com/hook", "authToken": "shared-secret", "disabled": false}