Skip to main content
POST
Create Phone Number

Headers

x-anyreach-org
string | null

Organization ID for user PATs (pat_ prefix tokens)

Body

application/json

Schema for API requests to create a new phone number (excludes organization_id).

phone_number
string
required
trunk_id
string
required
outbound_shareable
boolean
default:false

Response

Successful Response

Phone number entity representing a phone number configuration.

phone_number
string
required
organization_id
string
required
trunk_id
string
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
external_id
string
required
created_by
string | null
modified_by
string | null
inbound_agent_version_id
string | null
outbound_agent_version_id
string | null
managed_account_id
string | null
outbound_shareable
boolean
default:false