Skip to main content
POST
/
api
/
user
/
assistants
/
enable-conversation-ended-webhook
Enable Conversation Ended Webhook
curl --request POST \
  --url https://app.famulor.de/api/user/assistants/enable-conversation-ended-webhook \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "assistant_id": 123,
  "webhook_url": "<string>"
}
'
{
  "message": "Conversation ended webhook enabled successfully",
  "data": []
}
Enable webhook notifications that are sent whenever a chat conversation (Web Widget or WhatsApp) ends.

Request Body

assistant_id
integer
required
The assistant ID for which the webhook should be enabled
webhook_url
string
required
HTTPS URL that will receive conversation-ended webhook payloads

Response

message
string
Confirmation that the webhook has been enabled
data
array
Empty array (reserved for future extensions)
{
  "message": "Conversation ended webhook enabled successfully",
  "data": []
}

See Also