https://retellai.com/?utm_source=discord&utm_medium=seo logo
Getting a 404 error when trying to use create-phon...
# ❓・bug-report
z
I would like to have a system where I can use a make.com scenario to randomize which of my RetellAI agents a phone call gets connected to. When I try to execute a HTTP make a request module in make.com to the url https://api.retellai.com/v2/create-phone-call , I get an error code "Error: 404 Not Found". Before this step, I have a custom webhook that gets triggered by RetellAI phone number level webhook. The make.com http make a request module does the following: POST to: https://api.retellai.com/v2/create-phone-call headers: Authorization: Bearer Content-Type: application/json body type: raw content type: JSON (application/json) request content: { "from_number": "{{1.call_inbound.from_number}}", "to_number": "{{1.call_inbound.to_number}}", "override_agent_id": {{3.test}} } --- - {{3.test}} is the ID of one of my RetellAI agents - download link for make.com scenario (I removed my RetellAI key): https://drive.google.com/file/d/1PsyyI_7oMUix3lQbyOIazOprkztCYPtS/view?usp=drive_link
I had misunderstood the endpoint. It needed the from_number var to be a RetellAI phone number, which I hadn't given it.
p
Hey man so how did you solve this exactly
What url did you use at the end
Because I have the same problem and the same url and body and header you shown above