Skip to main content

Stop campaign

This request will change the campaign status to STOPPED and will halt any further contact with prospects until the status is changed back to RUNNING. To resume a campaign, use the /run endpoint.

Request​

Endpoint​

POST https://api.woodpecker.co/rest/v2/campaigns/{campaign_id}/stop

Headers​

x-api-key: {YOUR_API_KEY}

For details on how to authenticate your requests, please see the authentication guide.

Request samples​

Stop a campaign​

curl --request POST \
--url "https://api.woodpecker.co/rest/v2/campaigns/{campaign_id}/stop" \
--header "x-api-key: {YOUR_API_KEY}"

Response​

Response examples​

The campaign has been stopped.

Status: 200
Body: none