https://retellai.com/?utm_source=discord&utm_medium=seo logo
Is https://api.retellai.com/v2/create-phone-call e...
# ❓・bug-report
j
I've been trying to use this endpoint but I'm getting 404 error. The authorization is correct since it worked with GET request.
o
404 means one of these things , the phone number is not connect correctly , the API key is wrong , the agent id is wrong. try to test each one by it self to know the issue.
s
HI @jj_retell_14505 thanks for reaching out.Make sure you're using POST, not GET or PATCH in Http request.Also add Content-Type: application/json in your request headers like that Authorization: Bearer YOUR_API_KEY Content-Type: application/json here is a sample json request body { "from_number": "+14157774444", "to_number": "+12137774445", "override_agent_id": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD" }
j
Copy code
{
  "errorMessage": "The resource you are requesting could not be found",
  "errorDescription": "Not Found",
  "errorDetails": {
    "rawErrorMessage": [
      "404 - \"{\\\"status\\\":\\\"error\\\",\\\"message\\\":\\\"Not Found\\\"}\""
    ],
    "httpCode": "404"
  },
  "n8nDetails": {
    "nodeName": "Retell AI - Do an outbound call",
    "nodeType": "n8n-nodes-base.httpRequest",
    "nodeVersion": 4.2,
    "itemIndex": 0,
    "time": "7/28/2025, 9:35:07 AM",
    "n8nVersion": "1.98.1 (Cloud)",
    "binaryDataMode": "filesystem",
    "stackTrace": [
      "NodeApiError: The resource you are requesting could not be found",
      "    at ExecuteContext.execute (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-nodes-base@file+packages+nodes-base_@aws-sdk+credential-providers@3.808.0_asn1.js@5_12b981d6b49d407a163f4d5244314033/node_modules/n8n-nodes-base/nodes/HttpRequest/V3/HttpRequestV3.node.ts:769:15)",
      "    at processTicksAndRejections (node:internal/process/task_queues:105:5)",
      "    at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_openai@4.78.1_encoding@0.1.13_zod@3.24.1_/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1185:9)",
      "    at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_openai@4.78.1_encoding@0.1.13_zod@3.24.1_/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1534:27",
      "    at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_openai@4.78.1_encoding@0.1.13_zod@3.24.1_/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:2098:11"
    ]
  }
}
The API authorization is working fine since it worked in GET module. Content-Type is application/json. I used the format { "from_number": "+14157774444", "to_number": "+12137774445", "override_agent_id": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD" } but still did't work
o
if the authorization is fine, please try to make an outbound call from the dashboard so you can know if the number is working fine also and make sure you putting the correct agent id .
j
It looks like it's not doing anything when trying to make an outbound call https://komododecks.com/recordings/QNLXqMMdfbIvf8yyhaVI
o
can you check the call history and show the details logs for this call.
j
o
click on it and show me the detail logs tabs
j
o
detail logs tab.
j
o
it looks you called a number and did not answer try to call another number.
j
The same result. Still verifying if they got a ring and just didn't answer or nothing at all
In case that's working, then I wonder why the post to the endpoint isn't working
o
we need to make sure that the number works first.
j
They said they didn't receive a call
o
try to call this number .
j
Same thing
o
okay so the problem is in the number that is why you get the error 404 not found
try remove it and connect it again , if still didn't work contact your provider
if you are using twilio follow this : https://docs.retellai.com/deploy/twilio#twilio
j
Does it mean that my initial connection may be wrong and I have to remove it and connect it again? I don't see an option to remove the number. Do I use API to remove that?
Nvm, I already saw the delete icon and removed it
Does it work right away after connecting? I'm getting a different error
o
403 mean that your provider that let you make the call, check voice geographic permissions if still dosn't work connect the provider.