Skip to content

(13) New conversation

POST

This new conversation webhook is triggered when a customer service agent joins or leaves a conversation. We recommend refreshing the conversation list when receiving this event.

Media typeapplication/json
object
type
required

The ID of the webhook type.

integer
Allowed value: 13
tts_notification_id

The ID of the notification.

string
shop_id

The shop ID.

string
timestamp

The Unix timestamp when the webhook was triggered.

integer format: int64
data
object
conversation_id

The identification of the conversation

string
create_time

Conversation creation time, represented as a Unix timestamp (in seconds).

integer format: int64
Example
{
"type": 13,
"tts_notification_id": "7327112393057371910",
"shop_id": "7494049642642441621",
"timestamp": 1644412885,
"data": {
"conversation_id": "576486316948490001",
"create_time": 1627587506
}
}

Return HTTP 200 to acknowledge receipt.