OperationalWebhookPayload
Normalized Agent operational event. The message ID identifies the persisted Hub message that records the event.
Possible values: [flag_for_review, session_transfer, end_chat]
Session expiry when the session has one.
payload objectrequired
Possible values: [whatsapp, instagram, messenger, telegram, sms, web_chatt2me]
Possible values: [IN]
message objectrequired
queue object
Automatic inactivity closure uses inactivity.
sender objectrequired
Stable channel routing identifier.
Optional visitor-provided, unverified phone number. Present only on Web Chatt inbound and operational-event senders; it is not a routing identifier.
Possible values: Value must match regular expression ^\d{8,15}$
Optional visitor-provided, unverified email. Present only on Web Chatt inbound and operational-event senders; it is not a routing identifier.
recipient objectrequired
Stable channel routing identifier.
Optional visitor-provided, unverified phone number. Present only on Web Chatt inbound and operational-event senders; it is not a routing identifier.
Possible values: Value must match regular expression ^\d{8,15}$
Optional visitor-provided, unverified email. Present only on Web Chatt inbound and operational-event senders; it is not a routing identifier.
{
"eventType": "end_chat",
"timestamp": "2026-10-06T15:00:00.000Z",
"payload": {
"provider": "whatsapp",
"direction": "IN",
"message": {
"id": "2d07a67f-d410-46a4-95b0-7b1952a1fcfa",
"sessionId": "3892f9da-202f-4b90-9d4d-85c779211b8e",
"reason": "inactivity",
"summary": "The session ended after inactivity."
},
"sender": {
"id": "5511999999999"
},
"recipient": {
"id": "5511888888888",
"applicationChannelId": "7c37a280-708c-46d5-b1fe-8c20a372df32"
}
}
}