404 response in n8n
# support
e
“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?”
v
The correct URL to trigger a call is:
Copy code
POST https://api.vapi.ai/call
Here's a sample cURL request:
Copy code
bash
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](https://docs.vapi.ai/api-reference/calls/create?explorer=true) Source: - [Vapi API Reference: Create Call](https://docs.vapi.ai/api-reference/calls/create?explorer=true)
The correct URL to trigger a call is:
Copy code
POST https://api.vapi.ai/call
Here's a sample cURL request:
Copy code
bash
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](https://docs.vapi.ai/api-reference/calls/create?explorer=true) Source: - [Vapi API Reference: Create Call](https://docs.vapi.ai/api-reference/calls/create?explorer=true)
k
checking if this is resolved/solved for you?
b
same
k
The correct API URL is [https://api.vapi.ai/calls](https://api.wapi.ai/calls), not v1/calls.