Karim
11/08/2024, 3:38 PMVapi
11/08/2024, 3:41 PMVapi
11/08/2024, 3:41 PMVapi
11/08/2024, 3:41 PMKarim
11/08/2024, 3:42 PMKarim
11/08/2024, 3:45 PMKarim
11/08/2024, 3:45 PMKarim
11/08/2024, 3:50 PMVapi
11/08/2024, 3:50 PMassistantId and serverUrl with your actual values when you make the request.
json
POST /phone_numbers/purchase
Host: api.vapi.com
Authorization: Bearer YOUR_API_TOKEN
Content-Type: application/json
{
"areaCode": "451",
"label": "test",
"assistantId": "YOUR_ASSISTANT_ID",
"serverUrl": "YOUR_SERVER_URL"
}
Make sure to replace YOUR_API_TOKEN, YOUR_ASSISTANT_ID, and YOUR_SERVER_URL with your actual API token, assistant ID, and server URL respectively. If you need further assistance or have any other questions, feel free to ask!Shubham Bajaj
11/08/2024, 4:02 PM