curl -X POST https://api.60db.ai/agents/campaigns/CAMPAIGN_ID/cancel \
-H "Authorization: Bearer your-api-key"
Agent Campaigns
Cancel Campaign
End a campaign for good. No new calls are placed. Live calls finish
POST
/
agents
/
campaigns
/
{campaignId}
/
cancel
curl -X POST https://api.60db.ai/agents/campaigns/CAMPAIGN_ID/cancel \
-H "Authorization: Bearer your-api-key"
Cancel a campaign. Recipients that are still
pending become cancelled. Calls that are already live finish normally and are recorded against their recipients. A cancelled campaign cannot be resumed.
Cancelling works even when the workspace plan is not active.
Request
Headers
Path
Response
200 OK. The campaign withstatus: "cancelled" and completed_at set. The fields match Get campaign.
Errors
| Status | Code | Meaning |
|---|---|---|
| 403 | POLICY_DENY | Your role cannot control campaigns, or the API key lacks the agents scope |
| 404 | CAMPAIGN_NOT_FOUND | No campaign with this ID in your workspace |
| 409 | CAMPAIGN_NOT_EDITABLE | The campaign has already finished (completed or cancelled) |
Example
curl -X POST https://api.60db.ai/agents/campaigns/CAMPAIGN_ID/cancel \
-H "Authorization: Bearer your-api-key"