Skip to content
Inkbox

Inkbox

ContactDocs

Jump to

Channel Assignment

Link communication channels to an agent identity so your agent can send email and make calls under a single handle. Each identity supports one mailbox and one phone number. A channel can only be assigned to one identity at a time.


Assign mailbox POST

POST /identities/{agent_handle}/mailbox

Link a mailbox to an identity. The mailbox must belong to the same organization and must not already be assigned to a different identity.

Path parameters

ParameterTypeDescription
agent_handlestringHandle of the identity to assign to

Request body

FieldTypeRequiredDescription
mailbox_idUUIDYesID of the mailbox to assign

Request example

JSONJSON

Response (200)

Returns the full identity detail object with the newly linked mailbox.

JSONJSON

Error responses

StatusDescription
403Organization ID missing from token
404Identity or mailbox not found
409Mailbox is already assigned to another identity
422Missing or malformed mailbox_id

Code examples


DELETE /identities/{agent_handle}/mailbox

Remove the mailbox from an identity. The mailbox itself is not deleted — it remains available for reassignment to another identity. Returns 204 No Content on success.

Path parameters

ParameterTypeDescription
agent_handlestringHandle of the identity to unlink from

Code examples


Assign phone number POST

POST /identities/{agent_handle}/phone_number

Link a phone number to an identity. The phone number must belong to the same organization and must not already be assigned to a different identity.

Path parameters

ParameterTypeDescription
agent_handlestringHandle of the identity to assign to

Request body

FieldTypeRequiredDescription
phone_number_idUUIDYesID of the phone number to assign

Request example

JSONJSON

Response (200)

Returns the full identity detail object with the newly linked phone number.

JSONJSON

Error responses

StatusDescription
403Organization ID missing from token
404Identity or phone number not found
409Phone number is already assigned to another identity
422Missing or malformed phone_number_id

Code examples


DELETE /identities/{agent_handle}/phone_number

Remove the phone number from an identity. The phone number itself is not deleted — it remains available for reassignment to another identity. Returns 204 No Content on success.

Path parameters

ParameterTypeDescription
agent_handlestringHandle of the identity to unlink from

Code examples

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