plotwit
09/30/2025, 11:09 AMAI Evy
09/30/2025, 11:10 AMAI Evy
09/30/2025, 11:10 AMAI Evy
09/30/2025, 11:10 AMplotwit
09/30/2025, 11:28 AMplotwit
09/30/2025, 12:27 PMAI Evy
09/30/2025, 12:27 PMAI Evy
09/30/2025, 12:27 PMAI Evy
09/30/2025, 12:27 PMAI Evy
09/30/2025, 12:27 PMplotwit
09/30/2025, 12:39 PMAI Evy
09/30/2025, 12:39 PMAI Evy
09/30/2025, 12:40 PMAI Evy
09/30/2025, 12:40 PMAI Evy
09/30/2025, 12:40 PMAI Evy
10/07/2025, 2:40 PMplotwit
10/07/2025, 2:40 PMAI Evy
10/07/2025, 2:40 PMPOST /v2/create-phone-call [(1) ]()
For Web Calls:
POST /v2/create-web-call [(2) ]()
The full URL would be ` for phone calls [(1) ]() . Here's an example of how to use it:
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) ;AI Evy
10/07/2025, 2:40 PMAI Evy
10/07/2025, 2:40 PMplotwit
10/07/2025, 2:43 PMAI Evy
10/07/2025, 2:43 PMAI Evy
10/07/2025, 2:43 PMfrom_number must be a Retell AI phone number that's properly configured [(1) ]() [(2) ]() . The error occurs when:
- The phone number isn't connected correctly to Retell AI [(2) ]()
- The phone number configuration needs to be reset
2. Request Format Issues
Ensure your request includes the proper headers and format :
json
{
"from_number": "+14157774444",
"to_number": "+12137774445",
"override_agent_id": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD"
}
With headers:
Authorization: Bearer YOUR_API_KEY
Content-Type: application/jsonAI Evy
10/07/2025, 2:43 PMagent_id or override_agent_id .
## Troubleshooting Steps
1. Test your phone number first - Try making an outbound call from the Retell AI dashboard to verify your phone number is working
2. Check phone number configuration - If the dashboard test doesn't work, you may need to remove and reconnect your phone number
3. Verify request method - Ensure you're using POST, not GET or PATCH
4. Provider-specific issues - If using Twilio, follow the Twilio integration guide; for Telnyx, ensure proper connection as mentioned in the documentation [(3) ]()
The endpoint ` is correct [(4) ]() , so the issue is likely with your phone number configuration or request format.AI Evy
10/07/2025, 2:43 PMAI Evy
10/07/2025, 2:43 PMplotwit
10/07/2025, 2:51 PMAI Evy
10/07/2025, 2:51 PMAI Evy
10/07/2025, 2:51 PMjson
{
"from_number": "+14157774444",
"to_number": "+12137774445",
"override_agent_id": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD"
}
## Required Headers
Make sure your n8n HTTP request includes :
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
## Common n8n Configuration Issues
1. **API Key Format**: Ensure you're using "Bearer YOUR_API_KEY" format, not just the key itself
2. **Phone Number Format**: The from_number must be in E.164 format and must be a number purchased from Retell or imported to Retell
3. **Agent ID**: Verify you're using a valid override_agent_id from your workspace [(2) ]()
4. **Body Type**: In n8n, make sure you're sending the body as JSON, not form data
Since the dashboard call works, your phone number and agent configuration are correct. The issue is most likely in how n8n is formatting the HTTP request headers or body.
Try creating a simple test request in n8n with just the required fields first, then add any additional parameters once it's working.AI Evy
10/07/2025, 2:51 PMAI Evy
10/07/2025, 2:51 PM