Skip to Content

Webhooks

Receive signed notifications when mail and domains change.

Webhooks push events to your HTTPS endpoint so you do not have to poll.

Create

curl -X POST https://api.postbound.app/webhooks \
  -H "Authorization: Bearer pb_…" \
  -H "Content-Type: application/json" \
  -d '{
    "endpoint": "https://example.com/hooks/postbound",
    "events": ["email.delivered", "email.bounced", "email.complained"]
  }'
FieldDescription
endpointHTTPS URL (HTTP webhooks) or Discord/Teams URL depending on type
eventsArray of event type strings
typeOptional: http (default), discord, or teams

For http webhooks, the create response includes a one-time signing_secret (whsec_…). Store it securely.

Manage

GET /webhooks
GET /webhooks/:id
PATCH /webhooks/:id
DELETE /webhooks/:id
POST /webhooks/:id/test

POST …/test sends a webhook.test event so you can validate connectivity and signature handling.

Delivery

HTTP deliveries include Standard Webhooks headers:

  • Webhook-Id
  • Webhook-Timestamp
  • Webhook-Signature (v1,…)
  • User-Agent Postbound-Webhooks/1.0

Failed deliveries are retried. Discord and Teams use their native message formats instead of the signed HTTP envelope.

Plan limits

Each plan caps how many webhook endpoints you can create. See Plans.

On this page