| Authentication | A DSN and an access token, sent in the X-API-KEY header |
| Ids | A type prefix on every id: acc_…, email_…, att_…, fld_…, we_…, evt_…, pk_… |
| Lists | { "object", "data", "has_more" }. Offset paging with offset and limit; cursor for long lists |
| Connecting accounts | POST /auth/intent with provider: "imap", the address and password, state, and account_id to reconnect. See Connect a mailbox |
| Accounts | GET, PATCH (metadata) and DELETE /accounts/{id}. status is running, errored or disconnected; is_locked, initial_sync, user_id, provider |
| Webhook endpoints | /webhooks/endpoints with url, trigger_events, account_ids, description, headers, enabled; /webhooks/conversations for the delivery log |
| Event envelope | { "object": "Event", "id", "type", "created_at", "account_id", "endpoint_id", "data" } |
| Event names | email.new, email.new.bounce, email.delete, email.draft.new, email.draft.delete, email.folder.*, tracking.open, tracking.click, account.add, account.reconnect, account.remove, account.status.* |
| API keys | /api-keys, with the key shown once |