Concurrency Limit on Call Campaigns
# support
h
Hello! Is there a way to limit the concurrency on a case by case basis when it comes to call campaigns? I would like to be able to set concurrency on the API call for creating the campaign so that I do not block my other inbound assistants from answering the phone. Is this possible? I cannot see in the documentation, I may be completely missing it though! Thank you for your help, Harry
v
Thank you for your question! Based on the documentation, Vapi currently enforces concurrency limits at the organization level, not per campaign, and there is no API parameter to set a custom concurrency limit when creating a campaign. To better assist you, could you clarify if you are looking for a workaround (such as implementing custom queueing logic on your server) or are you specifically seeking a built-in API feature for per-campaign concurrency control? Sources: - [Outbound campaigns overview](https://docs.vapi.ai/outbound-campaigns/overview) - [Call queue management with Twilio](https://docs.vapi.ai/calls/call-queue-management)
h
Per campaign concurrency control would help a lot so that they do not take up all of the available lanes with no way of limiting
@Vapi Support Bot
v
To implement per-campaign concurrency control, you can manage your own queue for each campaign and only dequeue calls when your custom limit allows. For example, in Node.js:
Copy code
js
// Pseudocode: Only process calls if campaign's activeCalls < campaignMax
if (campaignActiveCalls[campaignId] < campaignMax[campaignId]) {
  processNextCallInCampaignQueue(campaignId);
}
This approach lets you prevent a single campaign from consuming all available lanes, even though Vapi itself does not support per-campaign concurrency natively. See the [Call queue management with Twilio](https://docs.vapi.ai/calls/call-queue-management) guide for a full example. Source: - [Call queue management with Twilio](https://docs.vapi.ai/calls/call-queue-management)
c
Hi Harry Todd, If you're setting up an outbound call campaign and want to manage concurrency limits, please be aware that concurrency limits apply to the number of calls that can start simultaneously within your Vapi organization. If your organization has a concurrency limit of 10, then at most 10 calls can start at one time. Calls exceeding this limit will be queued [Vapi's outbound campaigns overview](https://docs.vapi.ai/outbound-campaigns/overview).
4 Views