Message Events
Receive inbound messages and message status updates via webhook. See our guide for handling events with SDKs.
Headers
PINNACLE-SIGNING-SECRET
Secret for verifying the authenticity of the request. Starts with `pss-` and is unique for each webhook. Find it at [webhooks](https://app.pinnacle.sh/dashboard/development/webhooks).
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
Content of an incoming or outgoing message. Discriminated by the type field.
deliveredAt
Timestamp when the message was delivered in ISO 8601 format.
Null if not yet delivered or for inbound messages.
fallbackMessage
Details of the fallback SMS/MMS message that was sent instead of the original RCS message.
This field is only present when the message status is FALLBACK_SENT, indicating the original RCS message could not be delivered and a fallback message was sent instead.
Use this information to track which fallback messages were sent and their content.
Response
200
Return a 200 status to indicate that the data was received successfully

