Session Message Sent

{
  "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 NameTypeDescription
eventTypestringThe type of webhook event being triggered
idstringUnique identifier for this message event
whatsappMessageIdstringWhatsApp's unique identifier for the message
conversationIdstringUnique identifier for the conversation thread
ticketIdstringUnique identifier for the support ticket
textstringThe actual text content of the message (null for non-text messages)
typestringThe type of message content being sent
dataobject/nullAdditional structured data for complex message types (null for text messages)
timestampstringUnix timestamp when the message was sent
ownerbooleanIndicates if the message was sent by the business (true) or customer (false)
statusStringstringCurrent delivery status of the message
assigneeIdstringUnique identifier of the agent assigned to handle this conversation
operatorEmailstringEmail address of the operator who sent the message
operatorNamestringDisplay name of the operator who sent the message
waIdstringWhatsApp ID of the recipient (phone number with country code)