API reference
Inboxes
List, create, get, update, delete and search inboxes. Inbox IDs may be email addresses or opaque inb_ IDs.
docs.simail.ai/api/inboxes
An inbox object:
{ "inbox_id": "shop-helper@simail.email", "pod_id": "pod_01JZX3S5V7W9X1Y3Z5A7B9C1D4", "display_name": "Shop Helper", "client_id": "shop-helper", "status": "active", "metadata": { "team": "support" }, "created_at": "2026-10-18T16:41:07Z", "updated_at": "2026-10-18T16:41:07Z"}| Field | Notes |
|---|---|
inbox_id | the mailbox email address or an opaque internal inb_… ID; use the value you receive unchanged in every path and do not parse it |
pod_id | the pod the inbox belongs to |
display_name | sender name; outbound mail adds ” via SiMail” |
client_id | your idempotency handle, unique in the organization |
status | active or paused (paused inboxes reject new mail and cannot send). An organization key can also see unclaimed: an inbox made by an agent sign-up that no person has claimed yet; PATCH and DELETE on it return 409 conflict |
metadata | your JSON, up to a few KB; never store secrets here |
Guide: Inboxes & pods.
List inboxes
Section titled “List inboxes”/v0/inboxesPermission inbox_read. Paginated (limit, page_token, ascending); returns { count, limit, next_page_token?, inboxes }.
An inbox-scoped key sees only its own inbox.
Create an inbox
Section titled “Create an inbox”/v0/inboxesPermission inbox_create, organization- or pod-scoped key. Supports Idempotency-Key.
| Body field | Notes |
|---|---|
username | optional; 3–32 characters of a-z 0-9 . _ -. A readable random name is generated if omitted. |
domain | optional; defaults to your organization’s simail mail domain |
display_name | optional |
client_id | optional; the same client_id returns the existing inbox instead of creating another. A client_id is never released: if its inbox was deleted (or is outside your key’s scope), creating with it again is 409 conflict, so use a new client_id |
pod_id | optional; defaults to the key’s pod, or the default pod |
metadata | optional JSON object |
curl -s https://api.simail.ai/v0/inboxes \ -H "Authorization: Bearer $SIMAIL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: create-shop-helper" \ -d '{ "username": "shop-helper", "display_name": "Shop Helper", "client_id": "shop-helper" }'200 OK with the inbox object. Publishes inbox.created.
| Status | code | When |
|---|---|---|
| 400 | validation_error | bad username or field |
| 403 | missing_permission | no inbox_create, an inbox-scoped key, or reason: "inbox_limit" when the organization has as many inboxes as its plan allows |
| 409 | address_unavailable | the address is taken, reserved, too similar to a reserved name, or retired |
| 409 | conflict | the client_id belongs to a deleted inbox or one outside your key’s scope (a client_id is unique in the organization and deleting does not free it) |
| 409 | idempotency_conflict | the key was used with a different body |
Get an inbox
Section titled “Get an inbox”/v0/inboxes/{inbox_id}Permission inbox_read. 404 not_found if it does not exist or is outside your scope.
Update an inbox
Section titled “Update an inbox”/v0/inboxes/{inbox_id}Permission inbox_update. Body: display_name, metadata (replaces the whole object) and/or status. A key may only set status to "paused".
Resuming a paused inbox (status: "active") and retention_days are human-only: a key gets 403 human_required, and a person does them in the console. An unclaimed inbox cannot be changed this way: 409 conflict.
Delete an inbox
Section titled “Delete an inbox”/v0/inboxes/{inbox_id}Permission inbox_delete. The inbox stops receiving at once and its content is deleted. The address
is retired: your organization can restore it later, but it is never given to anyone else. Keys
scoped to the inbox stop working. Publishes inbox.deleted. An unclaimed inbox cannot be deleted: 409 conflict.
Search inboxes
Section titled “Search inboxes”/v0/inboxes/search?q=Permission inbox_read. Matches address, display name and client_id. Query: q (required, at most 200 characters) and limit (1–50, default 20). Not paginated.
Not offered
Section titled “Not offered”POST /v0/inboxes/{inbox_id}/authorize returns 501 not_implemented; use an inbox-scoped key.
Inboxes in a pod are also reachable under /v0/pods/{pod_id}/inboxes.