Darkhan
05/15/2024, 3:01 PMVapi Support
05/15/2024, 3:01 PMVapi Support
05/15/2024, 3:01 PMareaCode
provided in your request is valid and corresponds to an area with available phone numbers. Here is an example of a valid request:
curl
curl --request POST \
--url https://api.vapi.ai/phone-number/buy \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"areaCode": "415",
"name": "My New Number",
"assistantId": "assistant_123",
"serverUrl": "https://myserver.com/handle",
"serverUrlSecret": "mysecret"
}'
[(1)]()
If the problem persists, you might need to try different area codes or check with Twilio if they have any restrictions or issues with number availability.Vapi Support
05/15/2024, 3:02 PMDarkhan
05/15/2024, 3:02 PMSahil
05/15/2024, 3:19 PMDarkhan
05/15/2024, 3:48 PMDarkhan
05/15/2024, 3:48 PMSahil
05/15/2024, 3:57 PM