Message Events
Receive inbound messages and message status updates via webhook. See our guide for handling events with SDKs.
Header Parameters
PINNACLE-SIGNING-SECRETstringSecret for verifying the authenticity of the request. Starts with pss- and is unique for each webhook. Find it at webhooks.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Represents an incoming message or message status update received via webhook.
typestringType of webhook event. MESSAGE.STATUS for message status updates, MESSAGE.RECEIVED for inbound messages.
"MESSAGE.STATUS""MESSAGE.RECEIVED"Conversation metadata containing the conversation ID, sender, and recipient information.
statusstringCurrent status of the message.
"QUEUED""PENDING""SENT""SEND_FAILED""DELIVERED""DELIVERY_FAILED""RECEIVED""READ""FALLBACK_SENT"directionstringDirection of the message flow.
"INBOUND""OUTBOUND"segmentsintegerNumber of segments for this message.
sentAtstringTimestamp when the message was sent in ISO 8601 format. Null if the message has not been sent yet.
deliveredAtstringOptionalTimestamp when the message was delivered in ISO 8601 format. Null if not yet delivered or for inbound messages.
Content of an incoming or outgoing message. Discriminated by the type field.
originalMessageIdstringOptionalThe unique identifier of the original RCS message that this fallback SMS/MMS was sent on behalf of. Always begins with the prefix msg_.
Only present on webhook events for fallback SMS/MMS messages. Use this to link the fallback back to the RCS message that could not be delivered. The message.id field on this event refers to the actual SMS/MMS that was sent — originalMessageId refers to the RCS message it replaced.
Null when the message is not a fallback.
Details of the fallback SMS/MMS message(s) that were actually sent to the recipient instead of the original RCS message.
Only present when the message status is FALLBACK_SENT. The message.id on this event refers to the original RCS message that could not be delivered. The fallbackMessage.ids contain the identifiers of the actual SMS/MMS messages that were sent.