https://retellai.com/?utm_source=discord&utm_medium=seo logo
Right now, Retell has 20 concurrent calls
# ❓・ai-evy-support
h
@AI Evy Right now, Retell has 20 concurrent calls. What will happen if one more call happens?
a
Thanks for tagging me @himansa_e. I'll look through relevant sources and get back to you shortly.
### Answer When you exceed the 20 concurrent call limit, you'll receive an error for the 21st call [(1) ](

▾

) . Pay-As-You-Go users are allocated a quota of 20 concurrent calls by default [(2) ]() . If your operational needs require additional concurrency, you can upgrade your plan through the "Billing" page . For batch calling scenarios where you've initiated multiple calls at once, the system handles this by processing calls as capacity becomes available - when calls end and fall below the 20 concurrent limit, additional calls from your batch will start [(3) ]() . You can monitor your current number of concurrent calls in the dashboard [(2) ]() .
​ To learn more, see the sources I considered: [[1] Personalization with Airtable](

https://www.youtube.com/watch?v=U8jdhkqOOhE▾

) [[2] Understand concurrency & limits](https://docs.retellai.com/deploy/concurrency) [[3] Question on concurrency](https://discord.com/channels/1186424376300679209/1262792701544366141) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
h
@User Instead of additional concurrency in retell, can I implement a queue to handle this scenario
@AI Evy Instead of additional concurrency in retell, can I implement a queue to handle this scenario
a
Thanks for the follow-up, @himansa_e. I'll get back to you soon.
### Answer You can implement your own queuing system for outbound calls, but handling inbound calls is more complex [(1) ]() . For outbound scenarios, you can manage calls through your backend using services like AWS SQS to queue calls and process them as concurrency becomes available . However, for inbound calls, the situation depends on your setup : - If you purchased your phone number directly through Retell, it should handle queueing automatically - If you're using SIP trunking with a provider like Twilio, the telephony provider handles some concurrency management, but you're still constrained by Retell's concurrency limits The challenge with inbound calls is that your backend cannot control the initial call routing when using SIP trunking, since the call handling happens at Retell's level . For a more scalable approach, you can upgrade your concurrency through the billing page [(2) ]() , or there are plans to add programmatic concurrency scaling at $5 per additional concurrent call per month [(3) ]() .
​ To learn more, see the sources I considered: [[1] Discord message from @micheldenizob on 2025-01-02](https://discord.com/channels/1186424376300679209/1186462578310910112/1324340702620028968) [[2] Understand concurrency & limits](https://docs.retellai.com/deploy/concurrency) [[3] Scalable concurrency model](https://discord.com/channels/1186424376300679209/1289329667555201115) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
h
how to identify how meny calls in retell rn . or how to now we have space for new call
@AI Evy how to identify how meny calls in retell rn . or how to now we have space for new call
a
Thanks for the follow-up, @himansa_e. I'll get back to you soon.
### Answer You can check your current number of concurrent calls in the dashboard [(1) ]() . Additionally, you can see your live concurrent call usage in the bottom-left corner of the dashboard [(2) ]() . The dashboard provides real-time visibility into your concurrent call usage, which helps you determine if you have space for new calls before hitting your limit [(1) ]() . Pay-As-You-Go users are allocated a quota of 20 concurrent calls , so you can monitor this against your current usage to know when you're approaching the limit.
​ To learn more, see the sources I considered: [[1] Understand concurrency & limits](https://docs.retellai.com/deploy/concurrency) [[2] Platform Changelogs | Retell AI](https://www.retellai.com/changelog) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
h
is retell api
@AI Evy in retell api
a
Thanks for the follow-up, @himansa_e. I'll get back to you soon.
### Answer Based on the sources provided, I can see references to the Retell AI API, but your question appears incomplete. From the documentation, I can show you that Retell AI provides several API endpoints and SDKs. For example, you can use the JavaScript SDK to interact with Retell AI's API [(1) ]() :
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const agentResponses = await client.agent.list() ;
console.log(agentResponses) ;
The API requires authentication using an API key that you can manage in your dashboard [(2) ]() . You can create new API keys, delete existing ones, and set webhook keys for authentication . Could you clarify what specific aspect of the Retell AI API you'd like to know about? For example: - How to authenticate with the API? - Specific API endpoints? - SDK usage examples? - API integration patterns? This will help me provide a more targeted response based on the available documentation.
​ To learn more, see the sources I considered: [[1] List Agents](https://docs.retellai.com/api-references/list-agents) [[2] Manage API Keys](https://docs.retellai.com/accounts/manage-api-keys) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
h
@AI Evy is there a hook or event listner to notify when agent end
a
Thanks for the follow-up, @himansa_e. I'll get back to you soon.
### Answer Yes, Retell AI provides webhook events to notify when a call ends [(1) ]() . You can listen for the
call_ended
event by configuring webhooks at either the account or agent level . The webhook system sends two main events : -
call_started
- when a call begins -
call_ended
- when a call ends To set this up, you need to configure a webhook URL in your agent configuration [(2) ]() [(3) ]() . The webhook URL can be set when creating or updating an agent [(4) ]() [(3) ]() . For the Web SDK, you can also listen to call events directly in your frontend code [(5) ]() :
Copy code
javascript
await retellWebClient.startCall({
 accessToken: createCallResponse.access_token,
}) ;
The webhook will send you detailed information about the call when it ends, including call analysis data if you have post-call analysis configured [(6) ]() .
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
h
in server
@in server
@AI Evy in server
a
Thanks for the follow-up, @himansa_e. I'll get back to you soon.
### Answer Based on the sources, for server-side event handling when a call ends, you have two main options: 1. Webhooks for Call Events You can configure webhooks to receive
call_ended
events on your server. This involves setting up a webhook URL in your agent configuration that Retell will call when events occur [(1) ]() . 2. WebSocket Event Handling If you're using a custom LLM WebSocket server, you can handle call termination events directly in your WebSocket implementation. The WebSocket communication protocol defines how your server communicates with Retell's server [(2) ]() [(1) ]() . For WebSocket servers, you need to set up a basic WebSocket endpoint to receive messages. The guide provides step-by-step instructions for setting up WebSocket servers using Node.js with Express.js or Python with FastAPI [(2) ]() . The WebSocket protocol requires your server to handle different event types through the
interaction_type
field, and you can track when calls end through the WebSocket connection lifecycle [(1) ]() . You'll need to implement concurrency checks on your side when handling multiple calls [(3) ]() , as Retell doesn't queue calls automatically on their end.
​ To learn more, see the sources I considered: [[1] LLM WebSocket](https://docs.retellai.com/api-references/llm-websocket) [[2] Setup WebSocket Server](https://docs.retellai.com/integrate-llm/setup-websocket-server) [[3] Question on concurrency limits when creating >20 outbound calls at once](https://discord.com/channels/1186424376300679209/1375439800408080505) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.