Triggered when a Conversation closes in 3Chat. This event identifies the end of an active communication window and its transition to the closed state.
Create a Webhook application in Open Platform → Webhook, configure its receiving URL, and subscribe to BUTLER_CONVERSATION_CLOSED.
Review Conversation Created or Conversation Updated first if you are not familiar with the Conversation lifecycle.
- Automatic closure after inactivity. When neither the Contact nor the AI or human agent sends a message during the configured idle period, 3Chat closes the Conversation. If Smart Agent Re-Online is enabled, the AI agent becomes available for the next incoming Conversation. Configure this behavior under 3Chat Agent → General Settings, using Smart Agent Re-Online and Re-online wait time.
- Manual closure by a human agent. A human agent can close the active Conversation in the Inbox to finish the current communication window and return control to the AI agent.
JSON payload delivered to the configured webhook URL.
Unique identifier for this webhook delivery.
Example:"f91692b3-f35c-4f3d-b398-e6f34491d3ce"
Business type code. The value is 15003 for Conversation Closed.
Example:15003
Value:15003
The Conversation record included in the webhook event.
Example:
{ "summary": "The contact asked about the Xiaomi 15 experience and purchasing options. The AI gathered the contact’s priorities, escalated the Conversation to a human agent, and confirmed the contact details for follow-up.", "convStatus": 3, "updatedTime": 1765466070910, "completedTime": 1765466070908, "replyStrategy": 2, "solved": false, "sessionId": { "id": "mz43k5my686kjsfkfpzqkup6", "viewKey": "butlerSession" }, "lookup_3g71fgh5f5": "Zhang San", "dataId": "uu5cha880vvk8tbw6e4hmv0i", "userAccountId": "2ce63138-344c-40fe-976b-8f19d3d3d2fa", "extendMap": {}, "createdTime": 1765465932005, "lookup_h70b811f83": 102, "id": "1448693862208901600", "visitorId": { "id": "ailfxvj0qyhbyy5vryljrz4k", "viewKey": "butlerVisitor" } }
- Mock serverhttps://threechatai.redocly.app/_mock/apis/3chat-webhooks/BUTLER_CONVERSATION_CLOSED
{ "requestId": "f91692b3-f35c-4f3d-b398-e6f34491d3ce", "businessType": 15003, "data": { "summary": "The contact asked about the Xiaomi 15 experience and purchasing options. The AI gathered the contact’s priorities, escalated the Conversation to a human agent, and confirmed the contact details for follow-up.", "convStatus": 3, "updatedTime": 1765466070910, "completedTime": 1765466070908, "replyStrategy": 2, "solved": false, "sessionId": { … }, "lookup_3g71fgh5f5": "Zhang San", "dataId": "uu5cha880vvk8tbw6e4hmv0i", "userAccountId": "2ce63138-344c-40fe-976b-8f19d3d3d2fa", "extendMap": {}, "createdTime": 1765465932005, "lookup_h70b811f83": 102, "id": "1448693862208901600", "visitorId": { … } } }