Skip to content
Inkbox

Inkbox

ContactDocs

Jump to

Manage Identities

Agent identities are org-scoped and identified by a unique agent_handle. Handles are normalized — a leading @ is automatically stripped, so @my-agent and my-agent are equivalent.


Create identity POST

POST /identities

Create a new agent identity. The handle must be unique within your organization.

Request body

FieldTypeRequiredDescription
agent_handlestringYesUnique handle for the identity. 1–255 chars. Leading @ is stripped.

Request example

JSONJSON

Response (201)

JSONJSON

Error responses

StatusDescription
403Organization ID missing from token
409Handle already taken within the organization

Code examples


List identities GET

GET /identities

List all active identities for your organization, newest first.

Response (200)

JSONJSON

Code examples


Get identity GET

GET /identities/{agent_handle}

Get a single identity with its linked communication channels (mailbox and phone number). This is the only endpoint that returns the full detail response with nested channel objects.

Path parameters

ParameterTypeDescription
agent_handlestringHandle of the identity (leading @ is stripped)

Response (200)

JSONJSON

If no mailbox or phone number is assigned, those fields are null.

Error responses

StatusDescription
403Organization ID missing from token
404Identity not found or deleted

Code examples


Update identity PATCH

PATCH /identities/{agent_handle}

Update an identity's handle or status. Only supplied fields are modified.

Path parameters

ParameterTypeDescription
agent_handlestringCurrent handle of the identity to update

Request body

FieldTypeRequiredDescription
agent_handlestringNoNew handle. 1–255 chars. Leading @ is stripped.
statusstringNoNew status: active or paused

Request example

JSONJSON

Response (200)

JSONJSON

Error responses

StatusDescription
400Invalid status value
403Organization ID missing from token
404Identity not found or deleted
409New handle already taken within the organization

Code examples


Delete identity DELETE

DELETE /identities/{agent_handle}

Delete an identity. Any assigned mailbox or phone number is unlinked (but not deleted — they remain available for reassignment). Returns 204 No Content on success.

Path parameters

ParameterTypeDescription
agent_handlestringHandle of the identity to delete

Code examples


Identity object

FieldTypeDescription
idUUIDUnique identity identifier
organization_idstringOrganization that owns this identity
agent_handlestringUnique handle within the organization
statusstringLifecycle status: active, paused, deleted
created_atstringCreation timestamp (ISO 8601)
updated_atstringLast update timestamp (ISO 8601)

Identity detail object

Extends the identity object with linked channel data. Returned by the get and channel assignment endpoints.

FieldTypeDescription
...all identity fields
mailboxobject | nullLinked mailbox object, or null if unassigned
phone_numberobject | nullLinked phone number object, or null if unassigned

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