message.created
POST
A message was sent; one event per recipient.
Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”webhook-id
required
string
Unique id of this delivery. Deduplicate on it.
webhook-timestamp
required
string
Unix time in seconds when the delivery was signed.
webhook-signature
required
string
Standard Webhooks signature, v1,<base64 HMAC-SHA256> of id.timestamp.body.
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
MessageCreatedWebhook
A message was sent; one event per recipient.
object
data
required
MessageCreatedData
The event payload, with external ids.
object
conversation_id
required
Conversation Id
Conversation the message belongs to.
string format: uuid
first
required
First
True for the sender’s first message in the conversation. Away replies are left out and have first false.
boolean
kind
required
Kind
Message kind, as in Message.kind.
string
message_id
required
Message Id
Id of the message.
string format: uuid
recipient_online
required
Recipient Online
Whether the recipient is online.
boolean
to
required
To
External id of the recipient.
string
timestamp
required
Timestamp
When the event was emitted.
string format: date-time
type
required
Type
Always message.created.
string
Responses
Section titled “Responses”Any 2xx acknowledges it