Skip to content

Test SendGrid webhooks

SendGrid sends event webhooks for email delivery, opens, clicks, bounces, and spam reports. Capture them on a free webhooks.cc endpoint to see exactly what SendGrid sends, or fire realistic sample payloads at your own handler without touching a production account.

Start free:
or sign up with email

No credit card · 50 requests/day free · or get a guest URL without an account

Prefer a walkthrough? Read the local webhook testing guide.

SendGrid Event Webhook event types

SendGrid batches email events into a JSON array POSTed to your Event Webhook URL. Every object in the array carries an event field and sg_event_id.

EventMeaning
processedMessage received by SendGrid and ready for delivery
deliveredReceiving mail server accepted the message
deferredReceiving server temporarily rejected the message; SendGrid will retry
bounceReceiving server permanently rejected the message
droppedSendGrid dropped the message (suppression list, invalid address)
openRecipient opened the HTML email (tracking pixel loaded)
clickRecipient clicked a tracked link in the email
spamreportRecipient marked the email as spam

Source: SendGrid Event Webhook reference.

How to test SendGrid webhooks

  1. 1

    Create a webhook endpoint

    Sign in free with GitHub, Google, or email to create a persistent endpoint, or grab an instant guest URL at webhooks.cc without an account.

  2. 2

    Point SendGrid at your URL

    Paste the endpoint URL into SendGrid: SendGrid → Settings → Mail Settings → Event Webhook.

  3. 3

    Inspect what arrives

    Each delivery appears live in the dashboard with method, headers, body, query parameters, and source IP.

  4. 4

    Forward to localhost or assert in CI

    Run whk tunnel <port> to forward webhooks to a local server, or use the TypeScript, Python or Go SDK to wait for and assert on deliveries in tests.

SendGrid webhook signature

Verification in webhooks.ccCapture deliveries to inspect raw signature material

SendGrid does not use a conventional signature header. Capture a real delivery to inspect exactly what is sent.

New to signature verification? Read the webhook signature verification guide.

Send sample SendGrid events

These SendGrid templates ship with realistic payloads. Send them from the dashboard's Send button, the SDK, or your AI agent via MCP.

deliveredopenbouncespam_report
# Send a signed SendGrid sample with the SDK
await client.endpoints.sendTemplate( slug, {
  provider: "sendgrid",
  template: "delivered",
});

Everything in one place

  • Live dashboard: see deliveries the moment they arrive
  • Forward to localhost with whk tunnel
  • Replay any captured request to any URL
  • Mock responses with custom status, headers, and body
  • Forward to your servers, Slack or Discord
  • TypeScript, Python and Go SDKs for CI assertions
  • MCP server for AI coding agents

SendGrid webhook questions

More providers

Browse all 68 providers

Your SendGrid webhook URL is seconds away

Sign up free, create an endpoint, and point SendGrid at it.

or sign up with email

No credit card · or try without an account