SuperMailOS Agent inboxes API

The Agent inboxes API from SuperMailOS — 7 operation(s) for agent inboxes.

GitHub OpenAPI

Operations 11

GET /api/v1/inboxes List agent inboxes #
POST /api/v1/inboxes Create an agent inbox #
GET /api/v1/inboxes/{id} Get an agent inbox #
PATCH /api/v1/inboxes/{id} Update or pause an agent inbox #
DELETE /api/v1/inboxes/{id} Delete an agent inbox #
GET /api/v1/inboxes/{id}/keys List an agent's keys #
POST /api/v1/inboxes/{id}/keys Create an agent key #
DELETE /api/v1/inboxes/{id}/keys/{keyId} Revoke an agent key #
GET /api/v1/holds List mail held back from agents #
POST /api/v1/holds/{id}/release Release held mail to the agent #
POST /api/v1/holds/{id}/dismiss Keep held mail from the agent #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/supermailos-com:supermailos-com-agent-inboxes-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

supermailos-com-agent-inboxes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SuperMailOS Agent inboxes API
  version: 1.3.0
  description: 'The SuperMailOS API lets your code and AI agents read, search, organize and send

    business email from your workspace''s real mailboxes — the same mail, rules and

    guardrails as the web app. ## Authentication

    Create a key in **Settings → Developers → API keys** (workspace admins). Keys look

    like `smk_…`, are shown once, and are sent as `Authorization: Bearer `. Prefer calling from a server; never ship a key in public client code. A key acts for the person who created it and reaches exactly the mailboxes they

    can open in the app: owners and admins reach every mailbox in the workspace; a

    member reaches their own mailboxes plus mailboxes shared with them (view-only,

    view-and-send, or full access). Anything else — another workspace, a teammate''s

    unshared mailbox — is reported as `404`, never as forbidden. Access follows the

    person''s current role, and a key stops working (`401`) once its creator leaves

    the workspace. ## Scopes

    | Scope | Allows |

    |---|---|

    | `read` | mailboxes, threads, messages, attachments, search |

    | `send` | `POST /send`, `POST /threads/{id}/reply` |

    | `write` | `PATCH /threads/{id}` (read/unread, star, move, archive, labels), `POST /threads/{id}/draft`, managing agent inboxes, their keys and held mail, rejecting an agent''s email — never sends |

    | `send` (also) | approving an agent''s waiting email (`POST /approvals/{id}/approve`) |


    A request without the needed scope gets `403` with code `missing_scope`. ## Rate limits

    120 requests per minute per key and 60 per minute per IP, then a

    one-minute cooldown. Responses carry `X-RateLimit-Limit` / `X-RateLimit-Remaining`;

    a `429` carries `Retry-After` (seconds). Sending has its own per-mailbox and

    per-workspace hourly limits and new-domain warm-up caps (also `429`). ## Idempotency

    Send an `Idempotency-Key` header (any 1–255 printable ASCII characters — a UUID

    is ideal) on `POST /send` and `POST /threads/{id}/reply`. Keys are scoped to your

    API key and kept for 24 hours:

    - same key + same body → the original response is replayed (same status and

    JSON, plus `Idempotency-Replayed: true`); nothing is sent again;

    - same key + a different body → `422` `idempotency_key_reused`;

    - same key while the first request is still running → `409` `idempotency_in_progress`. Only successful responses are stored: a refused request sent nothing, so you may

    fix it and retry with the same key. Always retry sends with the key you first used. ## Errors

    Errors are JSON: `{ "error": "", "code": "" }`. `error` is for

    humans and may change; `code` is stable: `bad_request`, `unauthorized`, `missing_scope`, `forbidden`, `not_found`, `conflict`, `idempotency_in_progress`, `idempotency_key_reused`, `payload_too_large`, `unprocessable`, `locked`, `rate_limited`, `insufficient_storage`, `server_error`, `upstream_failed`, `limit_reached`. A `503` `server_error` with `Retry-After` means the service is briefly unavailable:

    retry, and keep the key — only `401` says it is invalid. ## Pagination

    List endpoints return `nextCursor`; pass it back as `?cursor=` for the next page

    (`null` on the last page). `limit` is 1–100 (default 25). ## Privacy

    Bcc recipients appear only to the person who sent the message or was themselves

    Bcc''d — the same rule as the app. Reading a thread over the API never marks it

    read; `PATCH` it to change state. ## Ids

    Thread, message and attachment ids are opaque strings. A message''s `id` is the

    same value webhooks send as `emailId`; `messageId` is the RFC 5322 Message-ID. ## Agent inboxes

    Give an AI agent its own inbox on your domain (`POST /inboxes`), with a person who

    sponsors it and guardrails on by default. Its id is its mailbox id, so every mail

    endpoint above works with it. An **agent key** (`POST /inboxes/{id}/keys`, or

    `createKey` on create) reaches that one inbox and nothing else.'
  contact:
    name: SuperMailOS
    url: https://supermailos.com/contact
servers:
- url: https://supermailos.com
  description: Production
security:
- bearerAuth: []
tags:


# --- truncated at 32 KB (67 KB total) ---
# Full source: https://artifacts.apis.io/supermailos-com/openapi/supermailos-com-agent-inboxes-api-openapi.yml