Skip to main content
POST
Buy Number

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
area_code
string | null
telephony_provider
enum<string>
default:vonage
Available options:
vonage,
twilio
telephony_account_connection
string<uuid> | null
inbound_agent

Response

Successful Response

id
string<uuid>
required
user_id
string<uuid>
required
number
string
required
active
boolean
default:true
label
string
default:""
inbound_agent
Agent · object | null
outbound_only
boolean
default:false
example_context
Example Context · object | null
telephony_provider
enum<string>
default:vonage
Available options:
vonage,
twilio
telephony_account_connection
TwilioAccountConnection · object | null