Skip to main content
POST
List And Create Inboxes
Creates a new inbox — a real address that can send and receive. Optional username picks the local part (support@agentmail.to); omit it for a generated one such as livelyspirit481@agentmail.to. The domain is always agentmail.to here because AIsa does not expose domain management. Returns inbox_id, email, display_name, client_id, pod_id, metadata and timestamps. Writes to the shared AgentMail workspace: Every AIsa caller shares one AgentMail account, so this reaches inboxes other callers created, and what you write here is visible and editable by the next caller. Read one back with get_agentmail_inbox, list them with get_agentmail_inboxes.

Example

First time? Point any MCP client at https://mcp.aisa.one/mcp — Claude Code, Codex, Cursor, VS Code and the rest. Authorization is OAuth: the client opens a browser, you click Allow once, and there is no key to paste. Your agent then reaches every endpoint through a few meta tools: search, list_categories, get_details and batch_quote are free, batch_use is billed per call. Setup per client is in Connect via MCP; the live tool list and what each call costs are on aisa.one/mcp.
Set this endpoint up in your agent →

Request contract

Complete OpenAPI definition Effective request and pricing declaration (including authentication and referenced schemas):

Cost and request rules

Published reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ. Published reference values are not an account-specific quote or a settled charge. For endpoints supporting X-AISA-Cost-Mode: quote, obtain a free quote for your exact request before execution; reconcile the settled cost with response metadata and Usage Logs. USD amounts use 1,000,000 integer micro-USD per dollar.
  • Default request reference estimate (USD): 0.012
  • Cost contract: explicit_zero
  • Settlement evidence source: request_snapshot

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
client_id
string

Client ID of inbox.

display_name
string

Display name: Display Name <username@domain.com>.

domain
string

Domain of address. Must be a verified domain, or any subdomain of a verified domain that has subdomains enabled (e.g., bot.example.com). Defaults to agentmail.to.

metadata
Metadata · object

Custom metadata to attach to the inbox.

status
enum<string>

Set paused to create the inbox paused.

Available options:
active,
paused
username
string

Username of address. Randomly generated if not specified.

Response

Response with status 200

created_at
string<date-time>
required

Time at which inbox was created.

email
string
required

Email address of the inbox.

inbox_id
string
required

The ID of the inbox.

pod_id
string
required

ID of pod.

updated_at
string<date-time>
required

Time at which inbox was last updated.

client_id
string

Client ID of inbox.

display_name
string

Display name: Display Name <username@domain.com>.

metadata
Metadata · object

Custom metadata attached to the inbox.

status
enum<string>

paused when the inbox is paused. Omitted when the inbox is active. Treat any value other than paused as an inbox that sends and receives normally.

Available options:
active,
paused