Skip to content

Dialog Events

Dialog Created
Webhook

Request

Sent when a new dialog is created in 3Chat. 3Chat delivers this outbound event to the HTTPS webhook URL configured by the developer in 3Chat Open Platform. Subscribe to BUTLER_DIALOG_CREATED to receive it.

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 Dialog Created event.

Example:15013
Bodyapplication/jsonrequired

JSON payload delivered to the configured webhook URL.

requestIdstring, (uuid)required

Unique identifier for this webhook delivery.

Example:"03703d30-50f2-4103-bdb6-8aa331f36cc5"
businessTypeintegerrequired

Business type code. The value is 15013 for Dialog Created.

Example:15013
Value:15013
dataobjectrequired

The dialog that was created.

Payload
{ "requestId": "03703d30-50f2-4103-bdb6-8aa331f36cc5", "businessType": 15013, "data": { "id": "sess_p2p_001", "workSpaceId": "ws_001", "type": "p2p", "channelId": { … }, "visitorId": { … }, "lastMessageId": { … }, "createdTime": 1690000000, "updatedTime": 1690003600 } }

Responses

Webhook event received successfully.