Buy test phone numbers

This endpoint allows you to imitate buying a phone number

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Learn more on how test phone numbers work here.

Path Params
string
required

This is the test Sid from your test account credentials

Query Params
boolean
Defaults to false

NFFHJJDK

Form Data
string
enum
Defaults to +15005550006

This is a test phone numbers from the list of magic numbers here. It is required if AreaCode is not passed.

Allowed:
string

This is the URL that we should call to answer a call to the new phone number.

string
enum

This is the desired area code from which a new incoming phone number will be provisioned. It must be a code from the list of test codes here. It is required if PhoneNumber is not passed.

Allowed:
string

This is a text that describes the new phone number. It can be up to 64 characters long. By default, this is a formatted version of the new phone number.

Responses

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json