Skip to main content
Register a new webhook endpoint that receives HTTP callbacks when events occur in your organization.

Endpoint

Authentication

Bearer token required.

Request Body

string
required
The URL to send webhook payloads to. Must be a valid, reachable URL.
string[]
required
List of events to subscribe to. At least one event is required.
string
Scope the webhook to a specific room. If omitted, the webhook fires for events in all rooms.

Available Events

All payloads are wrapped in a base envelope: { id, event, timestamp, ...payload }.

Response

WebhookRegistration
The created webhook, including the signing secret (only returned at creation time). See WebhookRegistration.
The secret is only returned when the webhook is created. Store it securely — you cannot retrieve it later.

Example

Response (201)

Verifying Webhook Signatures

Each webhook delivery includes an HMAC-SHA256 signature in the headers. Verify it using the secret: