Buy a Phone Number

POST https://api.plivo.com/v1/Account/{{auth_id}}/PhoneNumber/15418341850/

Buys the phone number and adds it to your account. Certain countries have address and identity verification requirements. Phone numbers bought from these countries are activated after the provision of the required verification documents.

Below is the list of arguments that can be passed in this API request, more information can be found here

ArgumentsDescriptionRequired/Conditional/Optional
app_idThe application to be assigned to the phone number. If not specified, the application selected as the defaultnumberapp of the Account is assigned. For more information, refer defaultnumberapp argument in application and app_id attribute in application object.Optional

Request Body

{"app_id"=>"77543232947799695"}

RESPONSES

status: Created

{"api_id":"48110f34-c849-11eb-b5c3-0242ac110004","message":"created","numbers":[{"number":"12609605734","status":"Success"}],"status":"fulfilled"}