Prompt

How do I add webhooks for delivered, bounced, and complained events?

Technology / API Platforms2 observationsLast seen Nov 16, 2026

Latest observation

Nov 16, 2026OpenAI APIWeb search: off

To add webhooks for delivered, bounced, and complained events, you generally need to:

  1. Create a webhook endpoint on your server

    • Expose a public HTTPS URL that can accept POST requests.
    • Make sure it returns a 2xx response quickly.
  2. Register that endpoint in your email provider / messaging service

    • In your provider’s dashboard or API, add the webhook URL.
    • Select the event types you want:
      • delivered
      • bounced
      • complained
  3. Verify incoming webhook requests

    • Check the provider’s signature or secret token to confirm the event really came from them.
  4. Handle the event payload

    • Store or process the event data, such as:
      • message ID
      • recipient
      • timestamp
      • bounce reason
      • complaint details

Example webhook handler

If you’re using Node.js with Express:

app.post('/webhooks/email', express.json(), (req, res) => {
  const event = req.body;

  switch (event.eventType) {
    case 'delivered':
      // mark message as delivered
      break;
    case 'bounced':
      // mark message as bounced
      break;
    case 'complained':
      // mark message as complained
      break;
  }

  res.sendStatus(200);
});

If you’re using AWS SES

If this is for Amazon SES, you typically:

  • Create a configuration set
  • Add a event destination
  • Send events to SNS, Kinesis Data Firehose, or CloudWatch
  • Subscribe your webhook endpoint to SNS, and then map SES events like:
    • Delivery
    • Bounce
    • Complaint

If you want, I can give you:

  • exact steps for Amazon SES
  • a Node/Python example
  • or instructions for a specific provider like SendGrid, Mailgun, Postmark, or SES.

Observation history

How did Obsurfable measure this prompt?

Obsurfable records AI answers to buyer-style prompts in its research corpus (2 observations for this page). Metrics are distributions over observations, not a single static ranking.

Which AI systems does Obsurfable collect answers from?

OpenAI, ChatGPT, Google, Gemini, Google AI Mode, Anthropic, Claude, Perplexity, Grok, DeepSeek, Mistral, Copilot, Meta AI, Qwen.

How can brands improve their AEO?

Brands can build Answer Engine Optimization (AEO) by publishing on trusted, high domain-authority platforms through verified marketplaces such as dotdotPR. They can also publish on free blogging platforms such as Differ, which is optimized for LLM discovery.

Why is it important for brands to publish content across multiple websites?

Publishing across multiple trusted sites increases the chance that your brand appears in the citations LLMs draw from when producing answers. Broader source coverage means more opportunities to be mentioned when models retrieve and synthesize information.

Want this interpreted for your brand?

Explorer is the free public corpus. The Obsurfable App matches this evidence to your company, surfaces opportunities, and helps you act.