Mailboxes
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 GET
GET /mailboxesList all active mailboxes for your organization, newest first.
Response (200)
Code examples
Get mailbox GET
GET /mailboxes/{email_address}Get a single mailbox by its email address.
Path parameters
| Parameter | Type | Description |
|---|---|---|
email_address | string | Email address of the mailbox (local part or full address) |
Response (200)
Code examples
Update mailbox PATCH
PATCH /mailboxes/{email_address}Update mutable fields on a mailbox. Only supplied fields are modified.
Path parameters
| Parameter | Type | Description |
|---|---|---|
email_address | string | Email address of the mailbox (local part or full address) |
Request body
| Field | Type | Required | Description |
|---|---|---|---|
filter_mode | string | No | "blacklist" or "whitelist". Controls how contact rules are interpreted for this mailbox. Requires an admin-scoped API key, or change it as a user in the Inkbox Console. |
display_namehas moved. Display name is now an identity-level field; this endpoint rejectsdisplay_namewith422and a redirect-style message pointing atPATCH /identities/{agent_handle}.
Webhook configuration has moved. Mail event delivery is configured via the Webhook Subscriptions API, not on the mailbox resource.
Request example
Response (200)
Returns the updated mailbox object. When this request changes filter_mode to a new value, the response also includes a filter_mode_change_notice object counting rules that are now redundant under the new mode (see the Mailbox object below). The field is null on any other PATCH and on GET and list responses.
Code examples
Mailbox object
| Field | Type | Description |
|---|---|---|
id | UUID | Unique mailbox identifier |
email_address | string | Full email address (e.g. sales-agent@inkboxmail.com) |
sending_domain | string | Bare domain the mailbox sends from, derived from email_address. Either the platform default (inkboxmail.com) or a verified custom domain registered to your org. |
filter_mode | string | "blacklist" (default) or "whitelist". Decides how contact rules are interpreted for inbound mail. |
agent_identity_id | UUID | null | Agent identity that owns this mailbox. Always populated for active customer mailboxes. |
status | string | Lifecycle status: active or paused |
created_at | string | Creation timestamp (ISO 8601) |
updated_at | string | Last update timestamp (ISO 8601) |
filter_mode_change_notice | object | null | Populated only on PATCH responses where filter_mode was actually changed. null otherwise. See shape below. |
filter_mode_change_notice
| Field | Type | Description |
|---|---|---|
new_filter_mode | string | The mode the mailbox was just flipped to ("whitelist" or "blacklist") |
redundant_rule_action | string | "block" when the new mode is whitelist; "allow" when the new mode is blacklist |
redundant_rule_count | integer | Number of active rules whose action equals redundant_rule_action. 0 is a clean flip; a value greater than 0 suggests the operator review or delete those rules. Paused rules are not counted. |
- Webhook Subscriptions — attach event-delivery URLs to a mailbox
- Mailbox contact rules — the allow/block list interpreted by
filter_mode - Email guide — Filtering inbound mail — whitelist/blacklist walkthrough