Skip to main content
The Adraa Inbox API is a REST API served over HTTPS. Requests and responses use JSON.

Base URL

Authentication

Every request requires a workspace API token in the Authorization header:
Workspace admins create tokens in Settings → API. See Authentication for the full setup guide.

Errors

All errors share one envelope:
Validation failures include field-level details:
Common codes:
A 404 is returned for conversations that exist but belong to another workspace. The API never reveals whether a resource exists outside the token’s workspace.

Rate limits

Write endpoints are rate limited — 60 requests per minute for conversation writes (assign, send message), 30 per minute for agent and contact writes, and 10 per minute for sending a broadcast; each endpoint’s reference page lists its limit. All other endpoints accept 100 requests per minute per IP. Exceeding a limit returns 429 RATE_LIMIT_EXCEEDED.

IDs

Resources use cuid identifiers like cmbxgz9pq0003ph01m4n5o6p7. To find a conversation’s ID, open it in the agent console — it’s the last segment of the URL: