Numbers
Purchase phone number
POST
/
api
/
v1
/
phone-numbers
/
purchase
Authorizations
Authorization
string
headerrequiredBasic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Body
application/json
phoneNumber
string
requiredThe phone number to purchase
countryCode
string
requiredThe country code for the phone number
Response
201 - application/json
phone
string
requiredThe phone number
agentId
string
requiredThe agent ID
country
string
requiredThe country code