Events
Subscribe to any combination of these event types, or use * to receive all of them.
Subscribe to any combination of these event types, or use * to receive all of
them.
| Event | Description |
|---|---|
email.sent | Email was accepted and is in transit. |
email.delivered | Delivery confirmed by the receiving mail server. |
email.delivery_delayed | Delivery is delayed and still being retried: the receiving server deferred the email (a full mailbox, greylisting, rate limiting), or we are pacing mail to that provider. Fires once per email, on the first deferral, and never after the email has an outcome. Payload includes smtp_code and diagnostic, as on a bounce; smtp_code is absent when the delay is on our side, and diagnostic then says so in plain words. Most delayed emails are delivered later; one that is not ends with email.bounced or email.failed. |
email.bounced | Email hard-bounced (permanent failure). The address is suppressed when the rejection was about the address; counts_toward_reputation says which. The payload includes bounce_type plus the receiving server's verbatim reason — see Reading a bounce. Transient/soft failures are retried and fire email.delivery_delayed instead. |
email.complained | Recipient marked the email as spam. |
email.opened | Recipient opened the email (requires track_opens). Fires once per email. |
email.clicked | Recipient clicked a tracked link (requires track_clicks). Payload includes link_id and url. Repeat clicks on the same link within a minute count once, up to 20 clicks per email per hour. |
email.failed | The email will not be delivered and was not rejected by a recipient server: the account could not send when it was picked up, delivery was abandoned after retries, or it never reached the queue. Payload includes reason. |
email.suppressed | Recipients on your suppression list were dropped and not sent to. Fires for an email whose recipients were all suppressed, and for the record of recipients removed from a partly suppressed send. Payload includes recipients. Fires once per Idempotency-Key, however often the send is retried. |
email.received | A message arrived at one of your receiving addresses. Payload includes inbound_email_id, from, received_for, subject, attachments metadata, authentication verdicts and reply_to_email_id; fetch the body with GET /inbound/:id. |
contact.unsubscribed | A contact left your list, or one topic, through the unsubscribe page or a mail client's one-click unsubscribe. See Contact events. |
account.reputation_changed | Your account's sending state moved between healthy, limited (daily ceiling halved) and paused. See Account events. |
* | Wildcard — subscribes to all current and future event types. |
Payload structure
{
"type": "email.delivered",
"email_id": "9a8b7c6d-5e4f-4a3b-8c1d-0e9f8a7b6c5d",
"recipients": ["alice@example.com"],
"tags": { "category": "shipping_update" },
"timestamp": "2026-05-20T10:00:03.000Z"
}timestamp is when the event itself happened — the moment our MTA recorded the delivery, or
the arrival date on an async bounce/complaint report — not when we sent you the webhook. For
delivery time, read the webhook-timestamp header; the two differ when a retry or a backlog
delays the notification.
Every outbound-email payload includes type, email_id, tags, and timestamp. Some events add fields:
provider_message_id (sent), recipients (delivered, delivery_delayed, bounced, complained, suppressed),
bounce_type + diagnostic (bounced), smtp_code + diagnostic (delivery_delayed), link_id + url (clicked), and reason (failed). Deliveries from a test-mode send also
carry test_mode: true.
contact.* and account.* payloads describe a contact or the account rather than an email, so they have no email_id or tags.
email.received uses inbound_email_id instead of email_id and has no send tags. It carries
metadata, not the message body or attachment bytes. Fetch those with the
receiving API. A message addressed to several of your addresses is
stored once; the first webhook can have fewer received_for addresses than a later API read.
Handle retries idempotently using the webhook delivery ID, and retain inbound_email_id as
the message identifier.
Contact events
contact.unsubscribed fires once per opt-out that changes something: leaving the whole list,
a one-click unsubscribe from a topic, or each topic switched off on the preference page.
topic_id is null when the contact left the whole list. Changes you make yourself through
the API or the dashboard do not fire it. Opting back in on the preference page does not fire
anything.
{
"type": "contact.unsubscribed",
"contact_id": "3f2e1d0c-9b8a-4c7d-8e6f-5a4b3c2d1e0f",
"audience_id": "7c6b5a49-3827-4165-a5b4-c3d2e1f0a9b8",
"email": "alice@example.com",
"topic_id": null,
"timestamp": "2026-12-01T10:00:00.000Z"
}Account events
account.reputation_changed fires when your account's sending state changes. state and
previous_state use the same names as GET /reputation:
healthy, limited (your daily ceiling is halved) or paused (sending is suspended). The
warning state is not an event; read it from GET /reputation.
reason | Meaning |
|---|---|
bounce_rate | Your bounce rate crossed a line in the rate limits |
complaint_rate | Your complaint rate crossed a line |
recovered | Your rates came back under the line, so the halved ceiling is lifted |
review | Sending was paused after a review |
reinstated | Sending was resumed after a review |
{
"type": "account.reputation_changed",
"state": "limited",
"previous_state": "healthy",
"reason": "complaint_rate",
"timestamp": "2026-12-01T10:00:00.000Z"
}Hold marketing mail on limited and keep sending transactional mail. A paused account can
send nothing until it is reinstated.
Reading a bounce
bounce_type is our own classifier's bucket, and it is frequently
Uncategorized — a real rejection we have no specific rule for. It is not enough
on its own to tell an invalid mailbox from a reputation block, so a bounce payload
also carries the receiving server's own words:
{
"type": "email.bounced",
"email_id": "9a8b7c6d-5e4f-4a3b-8c1d-0e9f8a7b6c5d",
"bounce_type": "Uncategorized",
"smtp_code": 554,
"diagnostic": "Your access to this mail system has been rejected due to poor reputation of a domain used in message transfer",
"recipients": ["alice@example.com"],
"counts_toward_reputation": false,
"tags": {},
"timestamp": "2026-05-20T10:00:03.000Z"
}| Field | Notes |
|---|---|
smtp_code | Numeric SMTP reply code (550, 554, …). Absent when the bounce arrived asynchronously as a DSN rather than on the SMTP session. |
diagnostic | The remote server's reason, trimmed to 500 characters, with our sending IPs shown as [sending IP]. Absent when the remote sent no text. |
dsn_status | Dotted status (5.1.1) — present only on asynchronous DSN bounces, in place of smtp_code. |
counts_toward_reputation | true when the rejection was about the address: the bounce counts toward your bounce rate and the address was added to your suppression list. false when it was about the sending side or a temporary condition — a blocked IP, an authentication failure, a link on a blocklist, a full mailbox — so the address was not suppressed and there is nothing to clean from your list. |
Treat both as opaque text for humans and logs. Wording varies by provider and changes without
notice, so match on bounce_type or smtp_code when you need to branch in code — never on
diagnostic.
tags carries whatever tags the send was created with, as an
object — {} when it had none, never absent — so you can route on
payload.tags.category without checking the field exists first.