{
"eventType": "sessionMessageSent",
"id": "1a2b3b4d5e6f7g8h9i10j",
"whatsappMessageId": "abcdefghi_jklmnop",
"conversationId": "a1b2c3d4e5f6g7h8i9j10",
"ticketId": "m1n2o3p4q5r6s7t8u9v10",
"text": "Brand new offer: 50% OFF just for you!",
"type": "text",
"data": null,
"timestamp": "1665650047",
"owner": true,
"statusString": "SENT",
"assigneeId": "6343c17682538bf08459f5ed",
"operatorEmail": "[email protected]",
"operatorName": "Wati User",
"waId": "911234567890"
}Field Descriptions
| Field Name | Type | Description |
|---|---|---|
| eventType | string | The type of webhook event being triggered |
| id | string | Unique identifier for this message event |
| whatsappMessageId | string | WhatsApp's unique identifier for the message |
| conversationId | string | Unique identifier for the conversation thread |
| ticketId | string | Unique identifier for the support ticket |
| text | string | The actual text content of the message (null for non-text messages) |
| type | string | The type of message content being sent |
| data | object/null | Additional structured data for complex message types (null for text messages) |
| timestamp | string | Unix timestamp when the message was sent |
| owner | boolean | Indicates if the message was sent by the business (true) or customer (false) |
| statusString | string | Current delivery status of the message |
| assigneeId | string | Unique identifier of the agent assigned to handle this conversation |
| operatorEmail | string | Email address of the operator who sent the message |
| operatorName | string | Display name of the operator who sent the message |
| waId | string | WhatsApp ID of the recipient (phone number with country code) |
