Campaigns
Stop Campaign
Stop campaign execution permanently.
POST
Stop (cancel) a campaign permanently. Use this to terminate a running, paused, or scheduled campaign.
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