Browse Topics

SpamFilter Webhooks

Nathanael LLC

Webhooks post an event to your HTTPS address each time a message reaches its final outcome: delivered, bounced, quarantined or rejected. Use them to feed a security system (SIEM), an audit log or your own app.

Webhooks Webhooks

  1. Open Webhooks and click Add Webhook.
  2. Enter your URL, pick the events and the direction (inbound, outbound or both).
  3. Save, and keep the signing secret.

Each request is signed with an X-Webhook-Signature header (HMAC-SHA256 of the body with your secret). Check it before trusting the request. Failed deliveries are retried after 1 minute, 5 minutes, 15 minutes, 1 hour and 6 hours. Each event has an X-Webhook-Event-Id; store it to ignore duplicates. The page shows an example request.

Share

Was this article helpful?

Have more questions? Submit a Request