https://retellai.com/?utm_source=discord&utm_medium=seo logo
when I tryed to make a http request to make a call...
# ❓・ai-evy-support
r
@AI Evy when I tryed to make a http request to make a call I have some error: Full message 404 - "{\"status\":\"error\",\"message\":\"Not Found\"}" The http request is: POST https://api.retellai.com/v2/create-phone-call BODY: { "from_number": "+551150399288", "to_number": "+5541988714006" }
a
Thanks for tagging me @renanjoppert. I'll look through relevant sources and get back to you shortly.
### Answer The 404 error you're encountering is a common issue with the Create Phone Call endpoint [(1) ]() . Based on the documentation and community discussions, there are several potential causes: Missing Required Headers Your request is missing the required Authorization header . The API requires:
Copy code
Authorization: Bearer YOUR_RETELL_API_KEY
Content-Type: application/json
Phone Number Configuration Issues The
from_number
must be a number purchased from Retell or imported to Retell . If you're using a SIP-based number from a provider like Twilio, you need to use the register phone call endpoint instead [(2) ]() . Correct Request Format Here's the proper request structure from the documentation [(1) ]() :
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',
}) ;
Common Solutions Based on Community Issues: - Ensure your phone number is properly connected and configured in your Retell dashboard [(3) ]() - Verify you have sufficient credits in your account - Check that you're using the correct API key - Make sure your phone number is a Retell number, not a custom SIP provider [(4) ]() [(5) ]() The endpoint URL ` is correct [(1) ]() , so the issue is likely with the missing authorization header or phone number configuration.
​ To learn more, see the sources I considered: [[1] Create Phone Call](https://docs.retellai.com/api-references/create-phone-call) [[2] Discord message from @shahzad_38468 on 2025-06-05](https://discord.com/channels/1186424376300679209/1186462578310910112/1380113509718822943) [[3] Hi ,](https://discord.com/channels/1186424376300679209/1397614768440742012) [[4] Getting a 404 error when trying to use create-phone-call through HTTP in make.com](https://discord.com/channels/1186424376300679209/1370700007765704785) [[5] 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.