MessageWebhookPayload
Normalized message event for WhatsApp, Instagram, Messenger, Telegram, SMS and Web chatt2.me. The message is persisted and its session is created or reused before this payload is delivered, including outbound-first and provider echo flows. Sandbox events carry the free Sandbox session identifier.
Possible values: [whatsapp, instagram, messenger, telegram, sms, web_chatt2me]
Possible values: [IN, OUT]
message objectrequired
Session correlated with this message. Created on the first inbound or outbound when no active session exists.
content objectrequired
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.
{
"provider": "whatsapp",
"direction": "IN",
"timestamp": 0,
"message": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"sessionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type": "string",
"is_echo": true,
"is_bot": true,
"is_sandbox": true,
"isEdited": true,
"content": {}
},
"sender": {
"id": "string",
"name": "string",
"username": "string",
"profilePic": "string",
"phoneNumber": "string",
"applicationChannelId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
},
"recipient": {
"id": "string",
"name": "string",
"username": "string",
"profilePic": "string",
"phoneNumber": "string",
"applicationChannelId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
}