Skip to content
Inkbox

Inkbox

BlogContactDocs
GuidesAPI Reference

Ctrl K

GuidesAPI Reference

Jump to

Mailboxes

Mailboxes are the email addresses your agents send and receive mail from. Each mailbox belongs to an organization and gets a unique address on the Inkbox sending domain.

Mailboxes can be created either with the standalone endpoint below or via the optional nested mailbox payload when you create an identity.


Create mailbox POST

POST /mailboxes

Provision a new mailbox and link it to an existing identity. By default, the server generates a random unique email address. You can optionally request a specific email_local_part.

Request body

FieldTypeRequiredDescription
agent_handlestringYesAgent identity handle to assign this mailbox to (e.g. "sales-agent" or "@sales-agent"). Leading @ is stripped.
display_namestringNoHuman-readable name shown as the sender. Max 255 chars. Defaults to "Inkbox user".
email_local_partstringNoRequested mailbox local part before @inkboxmail.com. If omitted, the server generates one.

Request example

JSONJSON

Response (201)

JSONJSON

Error responses

StatusDescription
403Organization ID missing from token
404Agent identity not found
409Identity already has a mailbox, or the requested email address is already taken
503Unique email generation or final insert collided; retry the request

Code examples


List mailboxes GET

GET /mailboxes

List all active mailboxes for your organization, newest first.

Response (200)

JSONJSON

Code examples


Get mailbox GET

GET /mailboxes/{email_address}

Get a single mailbox by its email address.

Path parameters

ParameterTypeDescription
email_addressstringEmail address of the mailbox (local part or full address)

Response (200)

JSONJSON

Code examples


Update mailbox PATCH

PATCH /mailboxes/{email_address}

Update mutable fields on a mailbox. Only supplied fields are modified.

Path parameters

ParameterTypeDescription
email_addressstringEmail address of the mailbox (local part or full address)

Request body

FieldTypeRequiredDescription
display_namestringNoHuman-readable name shown as the sender. Max 255 chars.
webhook_urlstring | nullNoHTTPS URL for webhook event delivery. Set to null to unsubscribe. See Webhooks.

Request example

JSONJSON

Response (200)

Returns the updated mailbox object.

Code examples


Delete mailbox DELETE

DELETE /mailboxes/{email_address}

Delete a mailbox. After deletion, the mailbox no longer receives inbound mail. Returns 204 No Content on success.

Path parameters

ParameterTypeDescription
email_addressstringEmail address of the mailbox (local part or full address)

Code examples


Mailbox object

FieldTypeDescription
idUUIDUnique mailbox identifier
email_addressstringFull email address (e.g. sales.team@inkboxmail.com)
display_namestring | nullHuman-readable sender name
webhook_urlstring | nullHTTPS URL for webhook event delivery, or null if not configured
statusstringLifecycle status: active, paused, deleted
created_atstringCreation timestamp (ISO 8601)
updated_atstringLast update timestamp (ISO 8601)

Inkbox

Copyright © 2026 Inkbox

This site is protected by reCAPTCHA.

Google Privacy Policy and Terms of Service apply.

Website

Inkbox

Copyright © 2026 Inkbox

This site is protected by reCAPTCHA.

Google Privacy Policy and Terms of Service apply.

Website

Mailboxes