Campaigns
Get Campaign
Fetch the full configuration and current state of a single calling campaign, including concurrency, retry settings, and progress counters.
GET
Get a campaign
Returns the full record for a single campaign: the display
name, the current status (active, paused, completed, cancelled), the assigned agent_id, the outbound from_phone_number, the configured max_concurrent_calls, the total enrolled total_leads, and live progress counters (completed_calls, pending_calls). Use this endpoint to render campaign detail pages, drive progress UIs, and audit how a campaign is configured before changing its state.
When to use this
- Campaign dashboards: render the header summary (name, status, agent, from-number) and progress bar.
- Pre-update checks: confirm a campaign is paused before changing concurrency or retry rules.
- Operations runbooks: pull the current pending count to estimate when a campaign will finish at the current concurrency.
campaign_id for produced call logs.
Path parameters
| Parameter | Description |
|---|---|
id | The campaign ID, for example cmp_5tw8vz2rnx1q. |
Errors
404 Not Foundis returned when the campaign does not exist.403 Forbiddenis returned when the API key cannot read campaigns on this workspace.
Request
Response
Related endpoints
- List Campaigns: see every campaign on the workspace.
- Update Campaign: change concurrency, retry behavior, or pause state.
- Get Calls by Campaign: fetch produced call logs.
- Concurrency and limits: guidance on choosing
max_concurrent_calls.
Authorizations
Pass your API key as a Bearer token in the Authorization header.
Path Parameters
Response
Success.
Example:
"cmp_xyz789"
Example:
"org_xyz"
Example:
"Q2 Lead Re-engagement"
Example:
"agt_abc123"
Example:
"+912234567890"
Batch campaign lifecycle status.
Available options:
draft, active, running, paused, completed, cancelled Example:
"running"
Example:
5
Example:
null
Example:
{
"max_retries": 3,
"retry_interval_minutes": 120
}Example:
"2024-03-01T09:00:00.000Z"
Get a campaign