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 response also includes non-null inbound_filter_mode and outbound_filter_mode fields (whitelist or blacklist). Configure these effective modes on the identity. Object responses can include optional top-level response notices. The canonical filter-mode control is the agent identity (see Manage identities). Sending filter_mode on the phone-number PATCH is deprecated but still accepted and forwards to the identity’s shared phone_filter_mode; the number’s filter_mode above mirrors that shared value. This shared write sets both incoming and outgoing modes for SMS/MMS, calls, and iMessage, removing directional customization even when the shared value is unchanged. Reads return the common effective mode when both agree, otherwise the last shared baseline. Use the identity’s phone_inbound_filter_mode and phone_outbound_filter_mode for effective directional settings. See directional filter modes. country and state describe the phone number in responses. Provisioning still requests US local numbers with the existing optional US state filter; it does not accept a country parameter.