https://retellai.com/?utm_source=discord&utm_medium=seo logo
I am trying to use the endpoint https://api
# ❓・ai-evy-support
r
@AI Evy I am trying to use the endpoint https://api.retellai.com/v2/create-phone-call. I am entering the credentials and data correctly, but I receive an error: 404 payload: { "status": "error", "message": "Not Found" } Why is this happening? Could you tell me why this endpoint is not working?
a
Thanks for tagging me @rodrigo_82857. I'll look through relevant sources and get back to you shortly.
### Answer The 404 error with the create-phone-call endpoint typically occurs due to configuration issues. Based on the documentation and community discussions, here are the most common causes: 1. Phone Number Configuration Issues The most common cause is that the
from_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) ]() :
Copy code
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',
}) ;
3. Headers and Method Make sure you're using [(2) ]() : - **Method**: POST - **Headers**: -
Authorization: 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.
​ To learn more, see the sources I considered: [[1] Getting a 404 error when trying to use create-phone-call through HTTP in make.com](https://discord.com/channels/1186424376300679209/1370700007765704785) [[2] Is https://api.retellai.com/v2/create-phone-call endpoint working?](https://discord.com/channels/1186424376300679209/1399425818010194091) [[3] V2 create-phone-call endpoint returns 404 Not Found — API Access?](https://discord.com/channels/1186424376300679209/1384549347605221438) [[4] Create Phone Call](https://docs.retellai.com/api-references/create-phone-call) [[5] Discord message from @dannykimes on 2025-07-29](https://discord.com/channels/1186424376300679209/1294891368505937952/1399582499407003751) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
r
@AI Evy We have conducted all the necessary tests, and the non-V2 endpoints are working correctly. However, the https://api.retellai.com/v2/create-phone-call endpoint returns a 404 error. Could you please confirm if the V2 API is currently active and operational?
a
Thanks for the follow-up, @rodrigo_82857. I'll get back to you soon.
### Answer Based on the official documentation, the V2 API is active and operational [(1) ]() . The correct endpoint is ` . The official documentation shows this JavaScript example for the V2 API :
Copy code
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) ;
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.
​ To learn more, see the sources I considered: [[1] Create Phone Call](https://docs.retellai.com/api-references/create-phone-call) [[2] Platform Changelogs | Retell AI](https://www.retellai.com/changelog) [[3] V2 create-phone-call endpoint returns 404 Not Found — API Access?](https://discord.com/channels/1186424376300679209/1384549347605221438) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
r
@AI Evy I'm currently testing the V2 API endpoint https://api.retellai.com/v2/create-phone-call, and I keep receiving a 404 error. Just to clarify, I'm using a phone number that I purchased directly through your platform. The number is from Twilio and has been correctly configured. I've tested the request both via Postman and using the official "Try Me" feature on your documentation site, but the error persists. Can you please verify if the endpoint is functioning correctly on your end?
a
Thanks for the follow-up, @rodrigo_82857. I'll get back to you soon.
### Answer The V2 endpoint ` is documented as the official Create Phone Call endpoint [(1) ]() . The official documentation shows this exact JavaScript implementation :
Copy code
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) ;
The required request format includes : - **Method**: POST
/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?
​ To learn more, see the sources I considered: [[1] Create Phone Call](https://docs.retellai.com/api-references/create-phone-call) [[2] Platform Changelogs | Retell AI](https://www.retellai.com/changelog) [[3] V2 create-phone-call endpoint returns 404 Not Found — API Access?](https://discord.com/channels/1186424376300679209/1384549347605221438) [[4] Is https://api.retellai.com/v2/create-phone-call endpoint working?](https://discord.com/channels/1186424376300679209/1399425818010194091) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.