when we build a ai calling agent we will connect the by the http request that will redirect to the retell.ai to call the client but in that i am getting the The resource you are requesting could not be found
Hi @Narendra1
The resource you are requesting could not be found error typically means:
- The endpoint URL is incorrect,
- The HTTP method is wrong,
- Or you’re missing required headers or parameters.
If you’re trying to initiate a phone call using Retell.ai, try the following:
-
Method:
POST -
Authentication:
ChooseNonein the node, but set the header manually. -
Headers:
Add the following two headers:
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json -
Body Content:
Switch toRAWmode and setContent-TypetoJSON. Use this structure:
{
“phone_number”: “+1234567890”,
“agent_id”: “your-agent-id”
}
Replace +1234567890 with the real number and "your-agent-id" with your actual agent ID from Retell.ai.
