tejas_17708
08/06/2025, 6:15 PM404 Not Found error when calling the /v2/phone-call endpoint.
Here’s what I’ve checked:
- ✅ API key is active and sent with the Bearer Authorization header
- ✅ Content-Type is set to application/json
- ✅ Endpoint used: https://api.retellai.com/v2/phone-call
- ✅ JSON payload is properly structured
- ✅ Agent ID used: starts with agent_c670c2...
I’m trying to trigger the Agent, but I’m unsure if this agent is supported for programmatic calls.
Could someone please confirm:
1. Is Agent compatible with /v2/phone-call?
2. Are there any permission or plan restrictions I should be aware of?
3. Is there a working sample payload or curl snippet for testing AIEVA via API?
Thanks a lot 🙏AI Evy
08/06/2025, 6:15 PMAI Evy
08/06/2025, 6:15 PM/v2/create-phone-call, not /v2/phone-call [(1) ]() .
Here's the correct setup for n8n:
Correct URL: `
Sample JavaScript code from the documentation:
javascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const phoneCallResponse = await client.call.createPhoneCall({
from_number: '+14157774444',
to_number: '+12137774445',
}) ;
console.log(phoneCallResponse.agent_id) ;
For n8n HTTP Request node:
- Method: POST
- URL: `
- Headers:
- Authorization: Bearer YOUR_RETELL_API_KEY
- Content-Type: application/json
- Required Body fields:
- `from_number`: Your Retell number in E.164 format
- `to_number`: The number to call in E.164 format
- Optional fields:
- `override_agent_id`: Your agent ID
- `metadata`: Arbitrary object for storage
To answer your specific questions:
1. Agent compatibility: Any agent can be used with the create phone call endpoint via the override_agent_id parameter
2. Requirements: The from_number must be a number purchased from Retell or imported to Retell, and if using a Retell-purchased number, only US numbers are supported as destinations
3. Common 404 causes: Based on community discussions, 404 errors often occur when the from_number isn't properly configured as a Retell number [(2) ]() , or when there are account credit issues [(7) ]()AI Evy
08/06/2025, 6:15 PMAI Evy
08/06/2025, 6:15 PMnir.simionovich
08/06/2025, 6:25 PM