Session Message Sent

Webhook payload example and field reference for Session Message Sent (sessionMessageSent_v2).

{
  "eventType": "sessionMessageSent_v2",
  "localMessageId": "16bf77ae-79e8-1e88-8b78-96",
  "chatbotTriggeredEventId": null,
  "id": "693fd65f961dc",
  "whatsappMessageId": "wamid.HBgNODYxMzEzMzg4MzI5NxUCAOEM0NTYxRTlBMwA=",
  "conversationId": "68cba3adb12b3349e",
  "ticketId": "693fd648545f54",
  "text": "hello",
  "type": "text",
  "data": null,
  "timestamp": "1765791326",
  "owner": true,
  "statusString": "SENT",
  "assigneeId": "65a109615b5cf65262",
  "operatorEmail": "[email protected]",
  "operatorName": "de",
  "waId": "86197",
  "replyContextId": "",
  "channelId": null,
  "channelPhoneNumber": "177742",
  "bsuid": "HK.xxxxxxxxxxxxx",
  "parentBsuid": "HK.ENT.xxxxxxxxxxxxx",
  "username": "@bob"
}

Field Descriptions

Field NameTypeDescription
eventTypestringThe type of webhook event being triggered
idstringWATI message or broadcast-link identifier, depending on the message family; not a unique webhook-delivery ID.
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)
typestringMessage type, supported values include: "image", "text", "document", "location", "voice", "audio", "button", "interactive", "reaction", "video", "sticker", "contacts", "order", "catalog", "media_placeholder", "template"
datastring/nullMedia URL when emitted; otherwise null.
timestampstringUnix seconds encoded as a string. This is a source-dependent message/event-processing timestamp, not a guaranteed time of actual delivery or reply.
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)

Legacy event variant

The same notification also has the legacy eventType sessionMessageSent; the example above shows sessionMessageSent_v2. The legacy base payload does not define localMessageId; do not require it when handling the legacy event. V2 adds caller correlation where available. Other payload fields follow the notification type.

{
  "eventType": "sessionMessageSent",
  "id": "<wati-message-id>"
}