Zum Inhalt springen

POST/webhooks

Auch genannt: Benachrichtigung

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

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 as Authorization header when calling your endpoint
{
"name": "OBS Overlay",
"url": "https://overlay.example.com/hook",
"authToken": "shared-secret"
}
{
"_id": "65f1c2a0e1b2c3d4e5f60718",
"name": "OBS Overlay",
"url": "https://overlay.example.com/hook",
"authToken": "shared-secret",
"disabled": false
}