Real_liamobrien
05/21/2025, 6:06 PMVapi Support Bot
05/21/2025, 6:07 PMjson
{
"customers": [
{
"number": "+12345678900"
}
],
"assistantId": "your-assistant-id",
"phoneNumberId": "your-phone-id"
}
Make sure there are no spaces, the "+" is present, and the country code is correct. Even a small typo or extra character can cause this error.
[See Vapi API docs for details](https://docs.vapi.ai/api-reference/calls/create)
Sources:
- [Vapi API Reference: Create Call](https://docs.vapi.ai/api-reference/calls/create)
- [Vapi Dynamic Variables Guide](https://docs.vapi.ai/assistants/dynamic-variables#prepare-your-request)Real_liamobrien
05/21/2025, 6:40 PMKyle
05/22/2025, 12:23 AMReal_liamobrien
05/22/2025, 12:15 PMKyle
05/23/2025, 1:44 AMnumberE164CheckEnabled: false
parameter to the customer object, which disables the strict E.164 validation while still ensuring basic validation rules. This will allow your call to go through even if your phone number doesn't strictly conform to E.164 format or uses test numbers.Real_liamobrien
05/23/2025, 5:57 PMVapi Support Bot
05/23/2025, 5:59 PMjson
{
"customers": [
{
"name": "Test Call",
"number": "+13155294769",
"numberE164CheckEnabled": false
}
],
"assistantId": "YOUR_ASSISTANT_ID",
"phoneNumberId": "YOUR_PHONE_NUMBER_ID"
}
Make sure you use the customers
array (not customer
), and include numberE164CheckEnabled: false
if you're testing with non-standard numbers. Double-check that your assistant and phone number IDs are valid and active in your Vapi dashboard.
[See Vapi API Reference: Create Call](https://docs.vapi.ai/api-reference/calls/create)
Source:
- [Vapi API Reference: Create Call](https://docs.vapi.ai/api-reference/calls/create)Vapi Support Bot
05/23/2025, 5:59 PMassistantId
, phoneNumberId
, and the phone number being sent in your API request (with any sensitive info redacted)? This will help determine if there are any formatting or data issues that might not be visible in the templated payload.
Sources:
- [Vapi API Reference: Create Call](https://docs.vapi.ai/api-reference/calls/create)
- [Vapi Dynamic Variables Guide](https://docs.vapi.ai/assistants/dynamic-variables#prepare-your-request)
- [Outbound Sales Example](https://docs.vapi.ai/examples/outbound-sales)Kyle
05/26/2025, 6:33 AMReal_liamobrien
05/30/2025, 5:27 PMReal_liamobrien
06/02/2025, 12:37 PMKyle
06/02/2025, 1:19 PMReal_liamobrien
06/02/2025, 8:08 PMReal_liamobrien
06/02/2025, 8:08 PMReal_liamobrien
06/03/2025, 2:32 PMKyle
06/03/2025, 8:26 PMcurl -X POST https://api.vapi.ai/call \
-H "Authorization: Bearer xxxx" \
-H "Content-Type: application/json" \
-d '{
"customer": {
"number": "+13155294769",
"numberE164CheckEnabled": false
},
"assistantId": "85747a5d-3111-4e00-8d27-3b380281772c",
"phoneNumberId": "1228c413-da84-4752-984a-b4613c2e8c57"
}'
Try this curl request and let me know how it goes for you.Real_liamobrien
06/06/2025, 6:21 PMKyle
06/09/2025, 7:56 PM