Message Events
Receive inbound messages and message status updates via webhook. For more information about handling incoming events with our native SDKs, see Receiving Messages.
Payload
The payload of this webhook request is an object.
type
Type of webhook event. MESSAGE.STATUS for message status updates or MESSAGE.RECEIVED for inbound messages.
Allowed values:
conversation
Conversation metadata containing the conversation ID, sender, and recipient information.
status
Current status of the message.
direction
Direction of the message flow.
Allowed values:
segments
Number of segments for this message.
sentAt
Timestamp when the message was sent in ISO 8601 format.
message
Message details including ID and content.
deliveredAt
Timestamp when the message was delivered in ISO 8601 format.
Null if not yet delivered or for inbound messages.
Response
200
any
Return a 200 status to indicate that the data was received successfully.