Botmail Webhooks API
Push events to your HTTPS endpoint. **Delivery**: `POST` with a JSON `WebhookEvent` body (`{id: "evt_", type, mailbox_id, thread_id, message_id, created_at, data}`). **Headers**: - `Botmail-Event-Id`: the event id (`evt_`); use it to de-duplicate. - `Botmail-Signature: t=,v1=` where `v1 = hex(HMAC-SHA256(secret, t + "." + raw_body))`. Verify against the raw request bytes and reject stale `t`. **Success** is any 2xx within 10 seconds. Failures are retried with exponential backoff (5 s, doubling, max 1 h). Events are delivered in order per webhook, so one failing event blocks later ones. After 20 consecutive failures the webhook is disabled (`active: false`, `disabled_reason` set); re-enable with `PATCH {active: true}`.