Skip to main content
Mailboxes are the email addresses your agents send and receive mail from. Each mailbox is owned 1:1 by an agent identity — mailboxes are created and destroyed atomically with the identity. To provision a mailbox, create an identity; to remove one, delete the identity. This page covers the read and update surface on the mailbox itself.

List mailboxes

List all active mailboxes for your organization, newest first.

Query parameters

Response (200)

JSON

Code examples


Get mailbox

Get a single mailbox by its email address.

Path parameters

Response (200)

JSON

Code examples


Update mailbox

The path selects the existing mailbox. Its email address, local part, and sending domain cannot be changed through PATCH. Supplying address fields returns 422. On inkboxmail.com, the local part is fixed with the agent handle. Configure the mailbox’s custom signature. Custom signatures are available on paid plans. Use an admin API key or a claimed agent’s key for its own mailbox. The legacy filter_mode field is deprecated but still accepted as a compatibility bridge to the owning identity’s mail_filter_mode. New integrations should set that control on the identity instead. Writing this shared field sets both email directions and removes directional customization, even if its previous value is unchanged. Reading it returns the common effective mode when both directions agree, otherwise the last shared baseline. Use the identity’s mail_inbound_filter_mode and mail_outbound_filter_mode for effective directional settings. See directional filter modes.

Path parameters

Filter mode is moving. The canonical control now lives on the agent identity as mail_filter_mode — see Manage identities. Set it with PATCH /identities/{agent_handle}; it interprets the mail contact rules. Sending filter_mode on this mailbox PATCH is deprecated but still accepted and forwards to the identity’s mail_filter_mode.
display_name has moved. Display name is now an identity-level field; this endpoint rejects display_name with 422 and a redirect-style message pointing at PATCH /identities/{agent_handle}.
Webhook configuration has moved. Mail event delivery is configured via the Webhook Subscriptions API, not on the mailbox resource.

Request body

Omitted fields stay unchanged, with one exception: supplying signature_html without signature_text regenerates the text fallback, or clears it when HTML is cleared. Supply both fields to choose your own fallback. At send time, a null text value falls back to readable text from the saved HTML. To switch to text only, clear HTML and supply text in the same request. Whitespace-only strings also clear a field. Enabling an empty signature does not add anything. See Signature formats for HTML, image, and file-content guidance.
cURL

Response (200)

Returns the updated mailbox object, including the saved HTML and text. Use the returned values when displaying or editing the signature.

Errors


Mailbox object

Mailbox storage. Storage counts inbound and outbound mail plus associated storage overhead. Deleting a message or a thread frees its space immediately. Sizes are byte counts: 2147483648 bytes is 2 GiB. Caps vary by plan — see pricing.