Receive real-time notifications for email events
Webhooks for Send are part of the unified do.dev event system. A single webhook endpoint can receive events from Send and all other do.dev services.
See the Webhooks & Events documentation for the complete guide.
| Event Type | Description |
|---|---|
send.email.sent | Email accepted for delivery |
send.email.delivered | Email successfully delivered to recipient |
send.email.bounced | Hard or soft bounce |
send.email.complained | Spam complaint received |
send.email.opened | Recipient opened the email |
send.email.clicked | Link clicked in the email |
send.domain.verified | Domain DNS verification completed |
send.suppression.added | Address added to suppression list |
See the full Event Types Reference for payload examples.
Create a webhook endpoint that listens to all send events:
curl -X POST https://api.do.dev/v1/webhooks \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com/webhooks",
"enabled_events": ["send.*"]
}'Or subscribe to specific events only:
{
"url": "https://example.com/webhooks",
"enabled_events": [
"send.email.bounced",
"send.email.complained"
]
}