Campaigns
Create Campaign
Create a managed batch calling campaign with lifecycle controls.
POST
Create a campaign
A campaign is a managed outreach effort where you have full lifecycle control. You can pause, resume, and cancel it at any time. Unlike a batch call (which is one-shot), a campaign lets you add leads incrementally and control the pace of calling.
Batch calls vs. campaigns
| Batch Call | Campaign | |
|---|---|---|
| Leads added via | File upload at creation | File upload or one-by-one after creation |
| Lifecycle controls | None | Pause, resume, cancel |
| Best for | Fixed one-shot outreach | Ongoing or large-scale campaigns |
Workflow
- Create the campaign with this endpoint.
- Add leads via Bulk Upload or Add Lead.
- Monitor delivery using campaign lead endpoints and call logs.
- Update campaign details when needed.
- Track each lead’s progress through campaign lead endpoints and call logs.
Request example
Request
Response
Authorizations
Pass your API key as a Bearer token in the Authorization header.
Body
application/json
Response
201 - application/json
Created.
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"
Create a campaign