Subscribed Event Types
Registering a Webhook
You can register webhooks via the Dashboard or programmatically via the API:cURL
Response
Payload Schema (email.received)
sender classifies who is on the other end — human, agent, or automated — based on automation headers such as Auto-Submitted, X-Autoreply, and Precedence, plus out-of-office subject patterns. Use it to branch your workflow: an automated sender is usually an out-of-office reply, not a human waiting for an answer.
Security & Verification
Every webhook request contains the header:X-Gork-Signature:t=1757248496,v1=a987ef...
Retries & Delivery Guarantees
If your endpoint returns any HTTP status outside of200-299, Gork retries delivery using exponential backoff:
- Attempt 1: Immediate
- Attempt 2: 30 seconds
- Attempt 3: 2 minutes
- Attempt 4: 10 minutes
- Attempt 5: 1 hour
4xx responses are treated as terminal — they are your endpoint’s explicit rejection, so they are not retried. After 5 failed attempts the webhook is logged as failed in your organization dashboard.