Send Webhooks

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.

Send Event Types

Event TypeDescription
send.email.sentEmail accepted for delivery
send.email.deliveredEmail successfully delivered to recipient
send.email.bouncedHard or soft bounce
send.email.complainedSpam complaint received
send.email.openedRecipient opened the email
send.email.clickedLink clicked in the email
send.domain.verifiedDomain DNS verification completed
send.suppression.addedAddress added to suppression list

See the full Event Types Reference for payload examples.

Quick Setup

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"
  ]
}