Import phone number
Import a phone number from custom telephony and bind agents
Authentication
AuthorizationBearer
Clerk JWT token or OrtaVox API key (sk_live_… or pk_live_…)
OR
x-api-keystring
OrtaVox API key (alternative to Bearer token)
Request
This endpoint expects an object.
phone_number
E.164 format phone number
termination_uri
SIP trunk termination URI
direction
Which direction(s) to configure - inbound only, outbound only, or both. Defaults to both if not specified.
Allowed values:
sip_auth_username
SIP authentication username (required)
sip_auth_password
SIP authentication password (required)
inbound_agent_id
Agent ID for inbound calls
outbound_agent_id
Agent ID for outbound calls
inbound_agent_version
Inbound agent version
outbound_agent_version
Outbound agent version
nickname
Friendly name for the phone number
inbound_webhook_url
Webhook URL for inbound call events
Response
Phone number imported successfully
data

