flat-fuchsia
flat-fuchsia3mo ago

404 response in n8n

“I’m sending a POST request to https://api.vapi.ai/v1/calls and getting a 404. Has the endpoint changed? What's the correct URL to programmatically trigger a call from an assistant?”
5 Replies
Vapi Support Bot
The correct URL to trigger a call is:
POST https://api.vapi.ai/call
POST https://api.vapi.ai/call
Here's a sample cURL request:
curl -X POST https://api.vapi.ai/call \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{}'
curl -X POST https://api.vapi.ai/call \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{}'
The /v1/calls endpoint does not exist, which is why you're getting a 404. See official docs Source: - Vapi API Reference: Create Call
⤵️ Mention @Vapi Support Bot for follow-ups 🐥
Vapi Support Bot
The correct URL to trigger a call is:
POST https://api.vapi.ai/call
POST https://api.vapi.ai/call
Here's a sample cURL request:
curl -X POST https://api.vapi.ai/call \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{}'
curl -X POST https://api.vapi.ai/call \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{}'
The /v1/calls endpoint does not exist, which is why you're getting a 404. See official docs Source: - Vapi API Reference: Create Call
⤵️ Mention @Vapi Support Bot for follow-ups 🐥
Sahil
Sahil3mo ago
checking if this is resolved/solved for you?
stormy-gold
stormy-gold3mo ago
same
Sahil
Sahil3mo ago
The correct API URL is https://api.vapi.ai/calls, not v1/calls.

Did you find this page helpful?