Skip to main content
Manage the phone numbers associated with your organization. Provision local numbers, configure how incoming calls are handled, and release numbers when no longer needed.

Provision phone number

Provision a new phone number for your organization. Searches available carrier inventory, places an order, and registers the number to your account.

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
New numbers use 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

Release a phone number from your organization. The number is returned to the carrier and stops counting against your organization’s active-number cap. Returns 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

List your organization’s current phone numbers, newest first.

Query parameters

Response (200)

JSON

Code examples


Get phone number

Get a single phone number by ID.

Path parameters

Response (200)

Returns a phone number object.

Error responses

Code examples


Update phone number

Update the configuration for a phone number. All fields are optional — only the fields you provide will be updated.

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.