Your API key for authentication. Prefix with Bearer .
Your access token for authentication.
Body
The request body must contain a phone_number.
The phone number to be bought.
The geographical prefix for the number to be bought. This can be fetched from the GetTwilioAddress api (only in the case of UK number)
The bundle sid that can be fetched from GetTwilioBundle api (only in the case of UK number)
Request Example
{
"phone_number": "+17123123123",
"address_sid": "",
"bundle_sid": ""
}
Response
Status of the request in the form of a short message.
Information related to the phone number returned