Skip to main content
PATCH
Manage Inbox
Updates one inbox’s display_name and metadata; the address itself cannot change. Returns the full inbox after the update. 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. To read without changing anything use get_agentmail_inbox.

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.

Path Parameters

inbox_id
string
required

The ID of the inbox.

Body

application/json

Expects an object; provide at least one of display_name, status, or metadata.

display_name
string

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

metadata
UpdateMetadata · object | null

Metadata to merge into the inbox's existing metadata. Keys you include are added or overwritten; keys you omit are left unchanged. To remove a single key, send it with a null value. To clear all metadata, send metadata as null. Sending an empty object is rejected; use null to clear. Each update must include at least one of display_name, status, or metadata.

status
enum<string>

paused stops the inbox sending and receiving mail; active resumes it. Mail that arrived while the inbox was paused is not delivered on resume.

Available options:
active,
paused

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