Skip to main content
Webhooks stream real-time events from gork.email directly to your agent endpoints, orchestrators, or serverless functions.

Subscribed Event Types

Registering a Webhook

You can register webhooks via the Dashboard or programmatically via the API:
cURL
Response
Save the secret immediately. It is only returned once upon creation and is used to compute HMAC-SHA256 signatures.

Payload Schema (email.received)

Security & Verification

Every webhook request contains the header:
  • X-Gork-Signature: t=1757248496,v1=a987ef...
See the HMAC Verification Guide for reference implementation in Node.js, Python, and Go.

Retries & Delivery Guarantees

If your endpoint returns any HTTP status outside of 200-299, gork.email retries delivery using exponential backoff:
  1. Attempt 1: Immediate
  2. Attempt 2: 30 seconds
  3. Attempt 3: 5 minutes
  4. Attempt 4: 30 minutes
  5. Attempt 5: 2 hours
After 5 failed attempts, the webhook is logged as failed in your organization dashboard.