POST
/
v1
/
numbers
/
buy

Authorizations

Authorization
string
headerrequired

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 | null
inbound_agent

Response

200 - application/json
id
string
required
user_id
string
required
number
string
required
active
boolean
default: true
label
string
default:
inbound_agent
object | null
outbound_only
boolean
default: false
example_context
object | null
telephony_provider
enum<string>
default: vonage
Available options:
vonage,
twilio
telephony_account_connection
object | null