Conversations
Webhook Subscribe
Route a conversation to a webhook. The agent pipeline is skipped while the override is active.
POST
cURL
Switches the conversation to
webhook routing and sets the per-conversation
webhook override. Fires subscription.activated on the newly assigned
webhook unless it was already the active subscriber.
While the override is in place, every inbound user message produces a
subscription.message.received event sent to the assigned webhook only —
the agent pipeline is not run. Clear the override with
POST /conversations/{id}/unsubscribe/.
Webhooks themselves must be created in the dashboard.
There is no API for webhook creation.
Authorizations
API key authentication. Pass your API key in the X-API-Key header.
Path Parameters
Body
application/json
Subscribe a webhook to this conversation.
ID of an existing webhook to route this conversation to.
Response
200 - application/json
cURL