API reference
Webhooks
Read webhook endpoints, their header names and delivery logs. Creating, changing and deleting webhooks is human-only.
docs.simail.ai/api/webhooks
Webhook endpoints are managed by humans in the console. Keys can read them. How deliveries are signed, retried and disabled: Webhooks guide.
{ "webhook_id": "whk_01JZX4E0F1G2H3J4K5M6N7P8Q9", "url": "https://example.com/simail-webhook", "event_types": ["message.received", "thread.locked", "thread.unlocked"], "status": "enabled", "created_at": "2026-10-18T16:50:00Z"}status is enabled, disabled (by a human) or auto_disabled (after a 410 or five days of failures).
The wire object has only the fields shown (no filters, no disabled_reason). The signing secret is never returned.
List and get
Section titled “List and get”/v0/webhooks/v0/webhooks/{webhook_id}Permission webhook_read. The list is paginated like the other lists: limit (1-200, default 50),
page_token and ascending (newest first by default). The response is { count, limit, next_page_token?, webhooks }.
Only the endpoints your key can see count toward limit. The pod and inbox variants page the same way.
Custom header names
Section titled “Custom header names”/v0/webhooks/{webhook_id}/headersPermission webhook_read. Returns { "webhook_id", "header_names": [ … ] }: the fixed header names a receiver should expect
(webhook-id, webhook-timestamp, webhook-signature and the svix-* equivalents). Custom header
values are stored encrypted and never returned.
Delivery log
Section titled “Delivery log”/v0/webhooks/{webhook_id}/deliveriesPermission webhook_read. One row per delivery (the row is updated in place on each retry and attempt counts them), newest first, kept 30 days. Paginated like the other lists:
{ "count": 1, "limit": 50, "deliveries": [ { "id": "dlv_…", "webhook_id": "whk_01JZX4E0F1G2H3J4K5M6N7P8Q9", "event_id": "evt_01JZX4F0G1H2J3K4M5N6P7Q8R9", "replay_id": null, "attempt": 1, "status": "succeeded", "http_status": 200, "error": null, "duration_ms": 182, "next_attempt_at": null, "created_at": "2026-10-18T17:02:13Z", "updated_at": "2026-10-18T17:02:13Z" } ]}status is pending, succeeded, failed (will retry), dead (retries exhausted) or replayed. http_status is the receiver’s HTTP status, if it answered. Response
bodies are never stored.
Human only
Section titled “Human only”POST /v0/webhooks · PATCH /v0/webhooks/{webhook_id} · DELETE /v0/webhooks/{webhook_id} ·
PATCH /v0/webhooks/{webhook_id}/headers
All return 403 human_required. Testing, replaying and rotating secrets are console actions too.
This is deliberate: a key that could add an endpoint could forward all your mail events elsewhere.
Inbox and pod variants
Section titled “Inbox and pod variants”/v0/inboxes/{inbox_id}/webhooks… and /v0/pods/{pod_id}/webhooks… behave the same, limited to
endpoints filtered to that inbox or pod.
/v0/webhooks/polling returns 501 not_implemented; use GET /v0/events.