POST
Enable conversation ended webhook
This endpoint enables conversation ended webhook notifications for an assistant, allowing you to receive real-time updates when a chat conversation (WhatsApp or Web Widget) ends. The webhook includes the full transcript, extracted variables, and customer information.

Request Body

assistant_id
integer
required
The ID of the assistant to enable the conversation ended webhook for
webhook_url
string
required
The URL where webhook notifications will be sent when a conversation ends

Response

message
string
Success message confirming webhook was enabled
data
array
Empty array (reserved for future use)

Error Responses

404 Not Found
422 Validation Error