Prompt
bounce webhook email service
Latest observation
Nov 1, 2026
OpenAI APIWeb search: off
If you mean a webhook for email bounces (failed/delivered emails), here’s the general setup:
What it is
An email service can send you a webhook callback when an email:
- bounces (hard/soft failure)
- is delivered
- is opened/clicked (if supported)
- is complained/reported as spam
Common email services that support bounce webhooks
- SendGrid → Event Webhook
- Mailgun → Webhooks
- Postmark → Bounce/Delivery webhooks
- Amazon SES → SNS notifications for bounces/complaints/deliveries
- SparkPost → Event webhooks
- Mailjet → Event webhooks
Typical flow
- You send an email through the provider.
- Provider detects a bounce.
- Provider sends an HTTP
POSTto your webhook URL. - Your app:
- verifies the event is real
- stores bounce data
- marks the recipient as invalid/suppressed
Example webhook payload fields
- recipient email
- message ID
- bounce type (
hard/soft) - reason / SMTP response
- timestamp
- event type
Example endpoint behavior
Your webhook should:
- respond quickly with
200 OK - validate signature/authentication
- handle duplicate events safely
- avoid blocking on long processing
Example Node.js/Express webhook
app.post('/webhooks/email', express.json(), (req, res) => {
const event = req.body;
if (event.type === 'bounce') {
console.log('Bounce for:', event.email);
// update DB, suppress recipient, etc.
}
res.sendStatus(200);
});
If you want a specific provider
Tell me which service you use:
- SendGrid
- Mailgun
- Postmark
- AWS SES
- something else
and I can give you the exact webhook configuration and payload example.