Provision phone number
Request body
Filter mode now lives on the agent identity as phone_filter_mode — see Manage identities.
Text webhook delivery has moved. Configure text events (text.received,text.sent,text.delivered,text.delivery_failed,text.delivery_unconfirmed) via the Webhook Subscriptions API. Incoming-call webhooks stay on this resource because the response body drives whether Inkbox answers the call.
Request example
JSON
Response (201)
JSON
incoming_call_action: "hosted_agent" by default, so Inkbox Voice AI answers incoming calls without additional setup. Set auto_reject explicitly if you do not want incoming calls answered. You can update the number to change this setting.
Error responses
Code examples
Release phone number
204 No Content on success.
Caution: Releasing a number is irreversible. The number is returned to the carrier and you may not be able to reclaim it.
Path parameters
Response (204)
Returns no content.Error responses
Code examples
List phone numbers
Query parameters
Response (200)
JSON
Code examples
Get phone number
Path parameters
Response (200)
Returns a phone number object.Error responses
Code examples
Update phone number
Path parameters
Request body
Incoming-call configuration belongs to the number’s agent identity. Updating it
through this endpoint changes inbound handling for every phone or iMessage line
routed to that identity.
Filter mode now lives on the agent identity as phone_filter_mode — see Manage identities.
Text webhook delivery has moved. Configure text events via the Webhook Subscriptions API.
Request example
JSON
Response (200)
Returns the updated phone number object.Error responses
Code examples
Phone number object
The canonical filter-mode control is the agent identity’s
phone_filter_mode (see Manage identities). Sending filter_mode on the phone-number PATCH is deprecated but still accepted and forwards to the identity’s phone_filter_mode; the number’s filter_mode above mirrors that mode.
Related
- Webhook Subscriptions — attach text-event delivery URLs to a phone number
- Phone contact rules — the allow/block list interpreted by the identity’s
phone_filter_mode - Manage identities — set
phone_filter_mode - Phone guide — Filtering inbound calls and texts — whitelist/blacklist walkthrough

