Skip to content

Chat Group Created
Webhook

Request

Triggered when 3Chat creates a chat group. A chat group describes a group or discussion group from a connected messaging channel. Every chat group has a corresponding group-type Dialog that contains its messages and Conversations.

Prerequisites

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

When is this event triggered?

3Chat creates the chat group when it receives the first message from a previously unknown third-party group chat. At the same time, 3Chat creates the corresponding group-type Dialog if it does not already exist. This event is then delivered to subscribed developer servers.

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 Chat Group Created event.

Example:15036
Value:"15036"
Bodyapplication/jsonrequired

JSON payload delivered to the configured webhook URL.

requestIdstring, (uuid)required

Unique identifier for this webhook delivery.

Example:"ec7ca9e0-9800-43e5-b433-68f979e7ef5c"
businessTypeintegerrequired

Business type code. The value is 15036 for Chat Group Created.

Example:15036
Value:15036
dataobject(ChatGroupWebhookData)required

The chat group record included in the webhook event.

Example:
{ "updatedTime": 1785155638473, "lookup_2e4hdgd7hg": 2, "dataId": "144304948082573313", "extendMap": {}, "name": "Product discussion group", "createdTime": 1784465973920, "externalGroupId": "R:10970772183721730", "id": "144304948082573313", "avatar": "https://example.com/chat-group/avatar.png", "channelId": { "id": "143555921712459776", "value": "143555921712459776", "entityKey": "butlerChannel", "viewKey": "butlerChannel" } }
Payload
{ "requestId": "ec7ca9e0-9800-43e5-b433-68f979e7ef5c", "businessType": 15036, "data": { "updatedTime": 1785155638473, "lookup_2e4hdgd7hg": 2, "dataId": "144304948082573313", "extendMap": {}, "name": "Product discussion group", "createdTime": 1784465973920, "externalGroupId": "R:10970772183721730", "id": "144304948082573313", "avatar": "https://example.com/chat-group/avatar.png", "channelId": { … } } }

Responses

Webhook event received successfully.