Skip to main content
POST
/buy-phone-number

Authorizations

Authorization
string
header
required

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

Body

application/json
number
string

The phone number to purchase, in E.164 format (e.g. "+18058700061"). If not provided, a random US number will be purchased.

Example:

"+18058700061"

Response

200

The response is of type object.