API Reference
Conversation closed
Endpoints
- Calling
- Messaging
- Conversation
- Contact
- Assistant
- Widget
- Data Source
- User
- Intent
- Prompt
- Voice
- Tool
- Form
- Channel
- Campaign
- Outbound Webhook
- Custom Field
- Provider
- Agency
- Tool Function
- Agency Billing
- Log
- Conversation Flow
- Analytics
- Tag
- Billing
- API Reference
API Reference
Conversation closed
When a new conversation takes plance, this webhook is triggered
WEBHOOK
conversation.closed
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"object": "event",
"event": "captured_form.created",
"created_at": "2023-11-07T05:31:56Z",
"data": {
"conversation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"widget_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"assistant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"device_type": "mobile",
"contact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"chat_count": 123,
"transcript": [
{
"conversation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sender_type": "bot",
"message_type": "voice",
"text": "<string>",
"voice_base64": "<string>",
"data_sources": [
{}
],
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"updated_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"char_count": 123
}
],
"attributes": {}
}
}
"<any>"
Body
application/json
Response
200
application/json
Successful Response
The response is of type any
.
Was this page helpful?
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"object": "event",
"event": "captured_form.created",
"created_at": "2023-11-07T05:31:56Z",
"data": {
"conversation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"widget_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"assistant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"device_type": "mobile",
"contact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"chat_count": 123,
"transcript": [
{
"conversation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sender_type": "bot",
"message_type": "voice",
"text": "<string>",
"voice_base64": "<string>",
"data_sources": [
{}
],
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"updated_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"char_count": 123
}
],
"attributes": {}
}
}
"<any>"