Skip to content

message.sent

POST

A sent message was handed on to its first recipient. A webhook of scope project or inboxes gets it. Answer 2xx within 10 s; anything else is retried after 30 s, 120 s, 600 s, 3600 s, 21600 s, unless the URL now resolves to an address webhooks may not reach (then it is dropped), and 3 failures in a row pause the webhook (disabled_reason: failing). Each attempt counts toward the organization’s webhook deliveries per minute; one over it is skipped, never sent later. Before each attempt the webhook is checked again: one paused, deleted or no longer wanting the event gets nothing more of it. Every attempt is in the webhook’s log (GET /v0/webhooks/{webhook_id}/attempts). Verify webhook-signature with the webhook’s secret; webhook-id is the same on every retry. An event goes to the webhooks that want it when it is queued for them, so one made right after an event may still receive it if that queuing was retried.

Media typeapplication/json
MessageSentBody

The body POSTed for message.sent: the sent message, once the first of its recipients was handed on (SES took it, or an inbox of ours got it).

object
event_id
required
Event Id
string
/^evt_[0-7][0-9a-hjkmnp-tv-z]{25}$/
event_type
required
Event Type
string
Allowed value: message.sent
occurred_at
required
Occurred At
string format: date-time
message
required
MessageItem

A message in a list: no bodies.

object
version
required
Version

Goes up by one on every change: of two copies, the one with the higher version is the newer.

integer
message_id
required
Message Id
string
/^msg_[0-7][0-9a-hjkmnp-tv-z]{25}$/
project_id
required
Project Id
string
/^prj_[0-7][0-9a-hjkmnp-tv-z]{25}$/
inbox_id
required
Inbox Id
string
/^inb_[0-7][0-9a-hjkmnp-tv-z]{25}$/
thread_id
required
Thread Id
string
/^thr_[0-7][0-9a-hjkmnp-tv-z]{25}$/
envelope_to
required
Envelope To

The address the message came to; null for a message the inbox sent (sent).

Any of:
string
envelope_from
required
Envelope From
string
plus_tag
required
Plus Tag
Any of:
string
from
required
From
Array<object>
Party

A name and address from a header.

object
name
required
Name
string
address
required
Address
string
to
required
To
Array<object>
Party

A name and address from a header.

object
name
required
Name
string
address
required
Address
string
subject
required
Subject
Any of:
string
preview
required
Preview
Any of:
string
labels
required
Labels
Array<string>
size
required
Size
integer
received_at
required
Received At
string format: date-time

Example

{
"event_id": "evt_01je56wqswfmn9pgbc1wq8tjgq",
"event_type": "message.sent",
"occurred_at": "2026-12-01T12:00:00Z",
"message": {
"version": 1,
"message_id": "msg_01je56wqswfmn9pgbc1wq8tjgq",
"project_id": "prj_01je56wqswfmn9pgbc1wq8tjgq",
"inbox_id": "inb_01je56wqswfmn9pgbc1wq8tjgq",
"thread_id": "thr_01je56wqswfmn9pgbc1wq8tjgq",
"envelope_to": null,
"envelope_from": "test@k7m2xq4p.yoagent.email",
"plus_tag": null,
"from": [
{
"name": "",
"address": "test@k7m2xq4p.yoagent.email"
}
],
"to": [
{
"name": "Ada",
"address": "ada@example.com"
}
],
"subject": "Your report is ready",
"preview": "Hello from a test.",
"labels": [
"sent"
],
"size": 2048,
"received_at": "2026-12-01T12:00:00Z"
}
}

Delivered: any 2xx within 10 s (its body is not read).