cURL
curl --request POST \ --url https://eu-gcp-api.vg-stuff.com/v3/utils/buy-twilio-number \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "number": "<string>", "agentId": "<string>" }'
{ "phoneNumber": "<string>", "phoneNumberSid": "<string>", "message": "<string>" }
This endpoint is used to buy a twilio number.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful response
The response is of type object.
object