https://retellai.com/?utm_source=discord&utm_medium=seo logo
Please enable the Create Web Call (Call v2) route ...
# ❓・ai-evy-support
l
@AI Evy Please enable the Create Web Call (Call v2) route for my workspace (POST /v2/create-web-call). I can authenticate (GET /v2/list-agents works), but that route returns 404. My workspace ID is org_v0Cxmr5ibwAuWvgu
a
Thanks for tagging me @lordedgeward. I'll look through relevant sources and get back to you shortly.
### Answer The Create Web Call endpoint is documented and should be available at
POST /v2/create-web-call
[(1) ]() . Based on similar 404 issues reported by other users, there are a few common causes to check: Authentication and Headers Ensure your request includes the proper authorization header with your API key :
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const webCallResponse = await client.call.createWebCall({ agent_id: 'oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD' }) ;
console.log(webCallResponse.agent_id) ;
Common 404 Causes From similar cases, 404 errors on v2 endpoints have been resolved by ensuring phone numbers are properly configured in the workspace [(2) ]() [(3) ]() . One user specifically mentioned that their phone number needed to be a Retell AI phone number [(2) ]() . Workspace-Specific Access Some users have reported that certain v2 endpoints may need to be enabled for specific workspaces [(3) ]() . If the endpoint continues returning 404 despite proper authentication and configuration, this may be a workspace-level access issue. For immediate assistance with workspace-specific API access, visit [Contact Sales]() or check [) .
​ To learn more, see the sources I considered: [[1] Create Web Call](https://docs.retellai.com/api-references/create-web-call) [[2] Getting a 404 error when trying to use create-phone-call through HTTP in make.com](https://discord.com/channels/1186424376300679209/1370700007765704785) [[3] 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.
l
"Some users have reported that certain v2 endpoints may need to be enabled for specific workspaces (3) . If the endpoint continues returning 404 despite proper authentication and configuration, this may be a workspace-level access issue." I am having this issue, even with the sdk coding it returns 404 despite proper authentication and configuration. Can you enable the Create Web Call (Call v2) route for my workspace?
@AI Evy "Some users have reported that certain v2 endpoints may need to be enabled for specific workspaces (3) . If the endpoint continues returning 404 despite proper authentication and configuration, this may be a workspace-level access issue." I am having this issue, even with the sdk coding it returns 404 despite proper authentication and configuration. Can you enable the Create Web Call (Call v2) route for my workspace?
a
Thanks for the follow-up, @lordedgeward. I'll get back to you soon.
​ To learn more, see the sources I considered: [[1] Connect to web call](https://docs.retellai.com/deploy/web-call) [[2] V2 create-phone-call endpoint returns 404 Not Found — API Access?](https://discord.com/channels/1186424376300679209/1384549347605221438) ​
### Answer [(1) ]() I understand you're experiencing a 404 error with the Create Web Call endpoint despite proper authentication. Based on the available sources, the endpoint should be accessible, but there have been similar reports from other users [(2) ]() . The web call functionality is documented and uses the Retell Web SDK [(1) ]() :
Copy code
javascript
import { RetellWebClient } from "retell-client-js-sdk";
const retellWebClient = new RetellWebClient() ;
For starting a call, the process involves calling your server endpoint to get the access token :
Copy code
javascript
await retellWebClient.startCall({
 accessToken: createCallResponse.access_token,
}) ;
However, I cannot enable API endpoints for your workspace. For workspace-specific API access issues like this, you'll need to contact Retell AI directly through their official support channels: - Visit [Contact Sales]() - Visit [) The Retell AI team will be able to verify and enable the necessary endpoints for your workspace (org_v0Cxmr5ibwAuWvgu) if needed.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
l
I put everything in correctly for the web call cURL (HTTP Request) and I'm still getting a 404 error "The resource you are requesting could not be found" although my bolt // src/lib/retellClient.ts is correct as well. All the troubleshooting has led me to think the route isn’t enabled for my workspace. Is this true?
@AI Evy I put everything in correctly for the web call cURL (HTTP Request) and I'm still getting a 404 error "The resource you are requesting could not be found" although my bolt // src/lib/retellClient.ts is correct as well. All the troubleshooting has led me to think the route isn’t enabled for my workspace. Is this true?
a
Thanks for the follow-up, @lordedgeward. I'll get back to you soon.
### Answer Based on the documentation, the Create Web Call endpoint should be available at
POST /create-web-call
[(1) ]() . The API documentation shows this endpoint accepts requests with the proper authorization header containing your API key . The TypeScript SDK provides access to this functionality [(2) ]() :
Copy code
typescript
import Retell from 'retell-sdk';

const client = new Retell({
  apiKey: 'YOUR_RETELL_API_KEY',
}) ;

const agentResponse = await client.agent.create({
  response_engine: { llm_id: 'llm_234sdertfsdsfsdf', type: 'retell-llm' },
  voice_id: '11labs-Adrian',
}) ;

console.log(agentResponse.agent_id) ;
The cURL example from the documentation shows the proper format [(1) ]() :
Copy code
curl --request POST \
 --url <https://api.retellai.com/create-web-call> \
 --header 'Authorization: Bearer <token>' \
 --header 'Content-Type: application/json' \
 --data '{
 "agent_id": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD",
 "agent_version": 1,
 "metadata": {},
 "retell_llm_dynamic_variables": {
 "customer_name": "John Doe"
 }
}'
However, I cannot confirm whether specific API routes need to be enabled for individual workspaces, as this information is not available in the documentation. For workspace-specific API access issues, you'll need to contact Retell AI support directly: - Visit [Contact Sales]() - Visit [)
​ To learn more, see the sources I considered: [[1] Create Web Call](https://docs.retellai.com/api-references/create-web-call) [[2] Retell Node API Library](https://github.com/RetellAI/retell-typescript-sdk/blob/main/README.md) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
l
@AI Evy Do I need an enterprise account to create web calls? What's stopping my workspace from having access to them?
a
Thanks for the follow-up, @lordedgeward. I'll get back to you soon.
​ To learn more, see the sources I considered: [[1] Create Web Call](https://docs.retellai.com/api-references/create-web-call) [[2] Discord message from @fyodor2572 on 2024-11-12](https://discord.com/channels/1186424376300679209/1294891368505937952/1305965837932429362) ​
### Answer Based on the available documentation, I cannot find specific information about enterprise account requirements for web calls or workspace-specific access restrictions. The Create Web Call endpoint is documented as a standard API endpoint that should be accessible with proper authentication [(1) ]() . The documentation shows the JavaScript SDK implementation for creating web calls :
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const phoneNumberResponse = await client.phoneNumber.create() ;
console.log(phoneNumberResponse.inbound_agent_id) ;
However, there have been community reports of similar 404 issues with v2 endpoints that required workspace-level enablement [(2) ]() . One community member mentioned that there's no capability within Retell to do certain OAuth operations and that substantial integration efforts may be required . Since the documentation doesn't specify enterprise account requirements for web calls and I cannot determine what might be preventing access to your specific workspace, you'll need to contact Retell AI directly for clarification on: 1. Whether web calls require specific account tiers 2. Workspace-specific API endpoint enablement 3. Any restrictions on your workspace (org_v0Cxmr5ibwAuWvgu) For immediate assistance with workspace-specific access issues: - Visit [Contact Sales]() - Visit [)
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.