MessageWebhookEventData
The message and the conversation, session, contact and inbox it belongs to. The IDs stay the same across retries; expanded objects can show changes made after the event.
Properties
- Name
session- Type
- object
- required
The session that handled the message; null when the message has none (seeMessage.sessionId).- Name
changedFields- Type
- array<string>
Message fields this update changed, such asreactions. Whenreactionsis listed, replace your stored reactions withmessage.reactions; an empty array clears them. Ignore events whosemessage.revisionisn't newer than the revision you stored.- Name
conversationId- Type
- string
- required
The conversation this message belongs to. Equalsmessage.conversationId, andconversation.idwhen expanded.- Name
sessionId- Type
- string
Same assession.idandmessage.sessionId, kept for existing integrations. Absent whensessionis null. New integrations should usesession.id.- Name
inboxId- Type
- string
- required
ID of the inbox that owns the conversation. It never changes. On message events, the expandedinboxandconversation.inboxIdcan instead name the inbox the message came from or was delivered through.- Name
message- Type
- Message
- required
- Name
conversation- Type
- Conversation
- Name
contact- Type
- Contact
- Name
inbox- Type
- Inbox