Phone Numbers
Buy a Phone Number
A POST request to purchase a phone number.
POST
This will buy a phone number. In the POST request you can either provide the phone number you want to buy, or leave it empty. If the specified number is still available, it will be bought or the API will return a failure. Alternatively, if you skipped the number field, a random phone number from California (CA) will be bought.
You can check or find available numbers using the /list-available-numbers API.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
The phone number to purchase. Example: '+18058700061'.