Get batch concurrency
GET/concurrency
Returns how many calls batch campaigns are running right now and how many more can start, per voice provider and per active campaign. Use it to see why a campaign is dialling slowly or to decide a new campaign's batch_concurrency. Never paywalled.
Requires
Authorization: Bearer <api_key>. Create a key in the Inspra dashboard under Workspace Settings → API Keys.Response 200 OK
Concurrency for the workspace the API key belongs to.
- total_active_callsintegeroptional
- providersobject[]optional
4 fields
- providerstringoptional
vapiretellinspra - max_concurrent_callsintegernullableoptionalCap shared by every campaign on this provider in the workspace. Null for
inspra, which paces each batch at the campaign's ownbatch_concurrency. - active_callsintegeroptional
- available_slotsintegernullableoptionalNever negative. Null when there is no cap.
- campaignsobject[]optionalActive calling campaigns, newest first, up to 100.
6 fields
- idstringuuidoptional
- namestringoptional
- providerstringnullableoptional
- batch_concurrencyintegeroptionalThe campaign's own cap.
- active_callsintegeroptional
- available_slotsintegernullableoptionalmin(campaign free
Errors
- 401UnauthorizedMissing, malformed, or invalid API key.
- 403ForbiddenWorkspace unavailable, suspended, or paywalled.
- 429Too Many RequestsWorkspace request limit exceeded; shared across all its API keys.