Stop campaign
Stop an outbound campaign for good: queued calls are cancelled and no lead is called again. Returns 202 with the campaign stopping while calls already placed are still finishing.
Path parameters
campaign_id
Headers
xi-api-key
Response
Successful Response
campaign_id
call_name
The campaign's name.
agent_id
channel_config
status
attention means an open attention item holds back some of the campaign’s calls while the rest go ahead. stopping means queued calls are cancelled and calls already placed are finishing.
policy
The policy the campaign took when it was created.
variant
Allowed values:
created_at_unix
updated_at_unix
channel
Allowed values:
mode
Allowed values:
counts
agent_name
source
Whether the campaign was created in the app or through the API.
Allowed values:
outcome
The result that counts as success for the campaign's calls.
scheduled_time_unix
When the campaign starts calling; unset to start once created.
branch_id
The agent branch the campaign calls with.
environment
The environment the agent's environment variables resolve in.
target_concurrency_limit
The most calls the campaign places at once.
Errors
422
Outbound Campaigns Stop Request Unprocessable Entity Error