Skip to content

Conversation Updated
Webhook

Request

Triggered when key attributes of a Conversation change in 3Chat. 3Chat delivers this outbound event to the HTTPS webhook URL configured by the developer.

Prerequisites

Create a Webhook application in Open Platform → Webhook, configure its receiving URL, and subscribe to BUTLER_CONVERSATION_UPDATE.

Understanding the Conversation entity

A Conversation is a time-bounded communication window between a channel-bound account and a Contact. It belongs to a Dialog, which represents the long-term relationship between them. A Conversation contains messages exchanged during one active period, closes after inactivity, and is replaced by a new Conversation when either side sends another message.

When is this event triggered?

The event is emitted when important Conversation attributes change, including these situations:

  1. AI Skills update Conversation fields. AI Skills classify, tag, enrich, or otherwise update custom fields associated with the Conversation.
  2. The Conversation is escalated to a human agent. The Contact requests human assistance, a human agent takes over in the Inbox, or an external system calls the Escalate to Human OpenAPI operation.
  3. The Conversation closes automatically. Both sides remain inactive for the configured period, and the latest status and timestamps are recorded.
  4. Control is returned to the AI agent. After a human agent resolves the issue, an Inbox user manually restores AI handling and the reply strategy changes.
Headers
TENANT_IDstringrequired

ID of the tenant associated with this event.

Example:aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee
STAFF_IDstring

ID of the staff member associated with the event, when applicable.

Example:123123
x-nct-timestringrequired

Timestamp when the event was generated.

Example:1750351569887
business-typestringrequired

Business type code for the Conversation Updated event.

Example:15001
Value:"15001"
Bodyapplication/jsonrequired

JSON payload delivered to the configured webhook URL.

requestIdstring, (uuid)required

Unique identifier for this webhook delivery.

Example:"f91692b3-f35c-4f3d-b398-e6f34491d3ce"
businessTypeintegerrequired

Business type code. The value is 15001 for Conversation Updated.

Example:15001
Value:15001
dataobject(ConversationWebhookData)required

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" } }
Payload
{ "requestId": "f91692b3-f35c-4f3d-b398-e6f34491d3ce", "businessType": 15001, "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": { … } } }

Responses

Webhook event received successfully.