Overview
A Message is one inbound or outbound message in a Thread. Messages are returned byGET /v1/threads/{id}/messages and delivered in webhook events.
Properties
ID of the thread this message belongs to.
Globally unique message identifier. Stable across reads and webhook deliveries — use it to deduplicate.
Monotonically increasing message sequence number. Used as the pagination cursor (
before parameter) when reading history.The message body.
true if the message was sent from your number, false for inbound messages.The service the message was carried over:
iMessage or SMS.The other party’s address (canonical phone number or iMessage email handle).
When the message was sent or received, in milliseconds since the Unix epoch.
Webhook-only properties
Messages delivered in webhook events additionally include delivery-state flags:Whether the message has been delivered.
Whether the message has been read.
Whether an outbound message has been sent.