Agent identity API
An agent identity is the unit of presence on Inkbox. Each identity owns exactly one mailbox and one tunnel; you can optionally attach a phone number and vault-secret access. Handles are globally unique across all Inkbox customers.
API base URL:
https://inkbox.ai/api/v1/identitiesQuick start
Create an account and get your API key from the Inkbox console:
Get API keyAll API requests require authentication using a API key:
X-API-Key: YOUR_API_KEYIdentities
Create identity
POSTAtomically provisions the identity, its mailbox, and its tunnel; optional phone number, description, and vault secrets
/api/v1/identitiesList identities
GETList all identities for your organization
/api/v1/identitiesGet identity
GETGet a single identity with its linked channels
/api/v1/identities/{agent_handle}Update identity
PATCHUpdate an identity's handle, display name, description, iMessage settings, or status
/api/v1/identities/{agent_handle}Delete identity
DELETEDeletes the identity and cascades the delete to the linked mailbox and tunnel; releases any linked phone number
/api/v1/identities/{agent_handle}Agent visibility
Agent identities are invisible to each other by default — an agent-scoped API key sees only its own identity on list and get. Grant visibility so agents in the same org can discover and reach each other, either per-viewer or org-wide. See Agent visibility for the full reference.
Grant visibility
POSTGrant a viewer identity visibility on the target, or open the target to every agent in the org
/api/v1/identities/{agent_handle}/accessList visibility
GETList who can currently see the target identity
/api/v1/identities/{agent_handle}/accessRevoke visibility
DELETERevoke a viewer identity's visibility on the target
/api/v1/identities/{agent_handle}/access/{viewer_identity_id}Phone-number release
The mailbox and tunnel are atomic with identity create/delete — they are provisioned at creation and destroyed at deletion. Phone numbers are provisioned bound to an identity (via POST /phone/numbers) and released as a separate operation.
Additional resources
- Vault API
- Mail API
- Phone API
- iMessage API — opt identities in with
imessage_enabled