rodrigo_82857
08/04/2025, 9:31 PMAI Evy
08/04/2025, 9:31 PMAI Evy
08/04/2025, 9:31 PMfrom_number must be a Retell AI phone number that's properly configured [(1) ]() . The phone number needs to be correctly connected to your telephony provider [(2) ]() [(3) ]() .
2. Required Request Format
Ensure you're using the correct format [(4) ]() :
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',
}) ;AI Evy
08/04/2025, 9:31 PMAuthorization: Bearer YOUR_API_KEY
- Content-Type: application/json
4. Required Body Fields
The request body requires [(4) ]() :
- `from_number`: Your Retell number in E.164 format
- `to_number`: The destination number in E.164 format
Troubleshooting Steps:
1. Verify your phone number is properly connected to your telephony provider (Twilio, Telnyx, etc.) [(3) ]()
2. Test making an outbound call from the Retell dashboard first [(2) ]()
3. Check that your phone number has the correct voice geographic permissions
4. If using a third-party provider, ensure the number is configured correctly according to their documentation [(3) ]()
The endpoint ` is the correct URL [(4) ]() [(5) ]() , so the issue is likely with the phone number configuration or request format.AI Evy
08/04/2025, 9:31 PMAI Evy
08/04/2025, 9:31 PMrodrigo_82857
08/04/2025, 9:36 PMAI Evy
08/04/2025, 9:36 PMAI Evy
08/04/2025, 9:36 PMjavascript
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) ;
The V2 API was introduced as part of Call API V2 updates, which separated phone call and web call objects [(2) ]() . The documentation confirms that old APIs will be supported until at least 9/1, with the possibility of extended support .
However, community discussions indicate that 404 errors with the V2 endpoint can occur due to phone number configuration issues [(3) ]() . One user reported that their Telnyx phone number needed proper SIP trunk setup to resolve the 404 error .
The required request format for the V2 endpoint includes [(1) ]() :
- **Method**: POST
- **Headers**: Authorization: Bearer YOUR_API_KEY
- **Required body fields**: from_number and to_number in E.164 format
Since your non-V2 endpoints work correctly, this suggests your authentication and basic setup are proper. The V2 endpoint should be operational based on the official documentation.AI Evy
08/04/2025, 9:36 PMAI Evy
08/04/2025, 9:36 PMrodrigo_82857
08/04/2025, 9:41 PMAI Evy
08/04/2025, 9:41 PMAI Evy
08/04/2025, 9:41 PMjavascript
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
08/04/2025, 9:41 PM/v2/create-phone-call
- **Headers**: Authorization: Bearer YOUR_API_KEY
- **Required body fields**: from_number and to_number in E.164 format
The V2 API was introduced as part of Call API V2 updates, which separated phone call and web call objects [(2) ]() . According to the changelog, old APIs will be supported until at least 9/1, with the possibility of extended support .
However, community discussions show that 404 errors can occur even with properly purchased Retell numbers [(3) ]() [(4) ]() . One user reported that their Telnyx phone number needed proper SIP trunk setup to resolve the 404 error [(3) ]() . Another user experienced the same issue and found that phone number configuration was the root cause [(4) ]() .
Since you've tested both via Postman and the official documentation's "Try Me" feature with a Retell-purchased Twilio number, and you're still getting 404 errors, this suggests there may be a configuration issue with your specific phone number or account setup.
For direct verification of endpoint functionality, I recommend:
- Visit [Contact Sales]()
- Visit [)
Would you like a general answer based on my knowledge instead?AI Evy
08/04/2025, 9:41 PMAI Evy
08/04/2025, 9:41 PM