Webhooks
Webhooks for every email event
Get a signed JSON POST at your URL when an email is delivered, bounced or opened, or when a message arrives. Failed deliveries retry with backoff, and any event can be replayed.
acme.dev/hooksExample feed- +0.4 semail.sent200 OK
- +1.0 semail.delivered200 OK
- +1.6 semail.openedfirst_open: true200 OK
- +2.2 semail.bounced503, retry
- +2.8 smessage.receivedacme.dev/agent200 OK
Signed with svix-signature. A raw HTTP POST any server can read.
Listen to events as they happen
Choose what each endpoint receives: email, contacts and topics, domains and suppressions, automations and inboxes.
Filter email events by message stream, or scope a webhook to one inbox or pod.
email.sent email.delivered
email.delivery_delayed
email.bounced email.complained
email.opened email.clicked
email.failed email.scheduled
email.suppressed email.unsubscribed
email.received email.repliedRetries with backoff and a backup
A delivery counts as sent only on HTTP 200. Anything else is retried, and a backup endpoint can take over.
Set backup_endpoint. After backup_after_attempts failures (default 3), the same events go to it. Retries run for about a day, and replay covers anything later.
email.bounced → acme.dev/hooksExample delivery log- attempt 1503 Service Unavailable
- attempt 2503 Service Unavailable
- attempt 3No response, timed out
- backup200 OKdelivered to backup_endpoint
Three steps to first event
Create an endpoint, verify each request, then test without sending real mail.
Every delivery carries svix-id, svix-timestamp and svix-signature, made with that endpoint's own secret over the raw body.
curl -X POST https://api.send.io/webhooks \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"endpoint": "https://acme.com/webhooks/sendio",
"events": ["email.delivered", "email.bounced", "email.complained"]
}'Or send to delivered@send.io, bounced@send.io or complained@send.io and the matching events fire.
Point a webhook at your app.
Signed events, retries and replay from the first email you send.
