https://retellai.com/?utm_source=discord&utm_medium=seo logo
“What is the correct REST API endpoint URL for cre...
# ❓・ai-evy-support
a
@AI Evy “What is the correct REST API endpoint URL for creating a call in my workspace? I need the full HTTPS path for the POST request (e.g. https://api.retellai.com/v2/phone-calls or https://api.retellai.com/v2/calls).”
a
Thanks for tagging me @asmith1516. I'll look through relevant sources and get back to you shortly.
### Answer The correct REST API endpoint URLs for creating calls in Retell AI are: For Phone Calls:
Copy code
POST /v2/create-phone-call
[(1) ]() For Web Calls:
Copy code
POST /v2/create-web-call
[(2) ]() Based on the documentation and community discussions, the full HTTPS path for creating a phone call would be:
Copy code
<https://api.retellai.com/v2/create-phone-call>
[(3) ]() When making the POST request, ensure you include these headers : -
Authorization: Bearer YOUR_API_KEY
-
Content-Type: application/json
The request body for a phone call should include [(1) ]() :
Copy code
json
{
  "from_number": "+14157774444",
  "to_number": "+12137774445",
  "override_agent_id": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD"
}
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.