Stopping a campaign marks all remaining pending contacts as cancelled. Use pause if you plan to resume later.
Path Parameters
campaign_id(integer, required): The unique identifier of the campaign
Behavior
When you stop a campaign:- Campaign status changes to
cancelled - In-progress calls may complete (provider-dependent)
- Pending contacts are marked as cancelled
- Completion timestamp is recorded
- Campaign cannot be resumed (use re-execute for new run)
Valid Starting Statuses
You can stop campaigns that are:running- Currently executingpaused- Temporarily pausedscheduled- Waiting to start
Response
Response
Example Code
cURL
Python
JavaScript
Error Responses
| Status Code | Description |
|---|---|
| 400 | Campaign cannot be stopped (invalid status) |
| 404 | Campaign not found |
Pause vs Stop
| Action | Resume Possible | Status | Use Case |
|---|---|---|---|
| Pause | Yes | paused | Temporary break, plan to continue |
| Stop | No | cancelled | Permanent termination |