Cancel a campaign
Terminates the campaign and purges its backlog. Any non-terminal status → cancelled.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
campaign_id
Response
Campaign cancelled
id
camp_{nanoid}
workspace_id
channel
agent_id
status
config
Channel payload template (caller-id, call window, webhook). Shape owned by the orchestrator.
schedule
retry_policy
Retry attempts + backoff (max_attempts, backoff_seconds, backoff_multiplier). Absent = no retries.
counters
Live progress counts. total = queued + dispatched + succeeded + failed.
created_at
updated_at
started_at
completed_at
retryable_failed
Count of targets the Retry failed action would re-queue (genuine dial failures, excluding suppression terminals). Present for completed/paused campaigns; omitted when 0.
Errors
401
Cancel Campaign Request Unauthorized Error
404
Cancel Campaign Request Not Found Error