POST
/
api
/
v1
/
phone-numbers
/
purchase

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
countryCode
string
required

The country code for the phone number

phoneNumber
string
required

The phone number to purchase

Response

201 - application/json
agentId
string
required

The agent ID

country
string
required

The country code

phone
string
required

The phone number