Webhooks

Create a webhook

POST /v1/webhooks
Permission
write:webhooks
Tokens
API key, CLI user token

Create a session-event webhook. Save the signing secret returned once in this response. Verify the initial ping, then request activation through Support.

{
"description": str,
"url": str
}

Request

descriptionstring
eventsarray<string>required

Explicit event subscriptions. Currently only session.create is supported. Pings are sent independently of subscriptions.

urlstringrequired

The single public HTTPS URL to receive signed POST requests. Changing it requires verification and approval again.

Response

secretstringrequired

The signing secret, returned only in this creation response. Save it now; it cannot be retrieved later.

webhookWebhookrequired

On this page

No Headings
Schedule a demo