Skip to main content
POST
Buy a phone number

Headers

string
required
Your API key for authentication. Prefix with Bearer .
string
required
Your access token for authentication.

Body

The request body must contain a phone_number.
string
required
The phone number to be bought.
string
The geographical prefix for the number to be bought. This can be fetched from the GetTwilioAddress api (only in the case of UK number)
string
The bundle sid that can be fetched from GetTwilioBundle api (only in the case of UK number)

Request Example

Response

string
Status of the request in the form of a short message.
object[]
Information related to the phone number returned