Prompt
Webhooks for delivered bounced opened clicked email
Latest observation
Nov 24, 2026
OpenAI APIWeb search: off
If you want webhooks for email events like delivered, bounced, opened, and clicked, most email service providers support these through an event/webhook API.
Typical setup:
-
Create a webhook endpoint on your server, for example:
POST /webhooks/email-events
-
Register that URL in your email provider’s dashboard or API.
-
The provider will send JSON payloads when events happen, such as:
deliveredbounceopenclick
-
Your app should:
- verify the webhook signature
- parse the event type
- store/update the message status in your DB
- respond with
200 OKquickly
Example payload:
{
"event": "delivered",
"message_id": "abc123",
"email": "user@example.com",
"timestamp": 1710000000
}
For clicks/opens, payloads often include:
- recipient email
- message ID
- campaign ID
- URL clicked
- user agent / IP
- timestamp
Important notes:
- Open tracking is usually based on a tracking pixel, so it’s not 100% reliable.
- Click tracking usually requires link rewriting.
- Bounce events may be:
- soft bounce
- hard bounce
- Delivered means accepted by recipient server, not guaranteed inbox placement.
If you want, I can also provide:
- a Node.js webhook example
- a Python/Flask example
- or provider-specific webhook setup for SendGrid, Mailgun, SES, Postmark, etc.