Skip to main content

Pause campaign

This request will change the campaign status to PAUSED 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}/pause

Headers

x-api-key: {YOUR_API_KEY}

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

Request sample

Pause a campaign

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

Response

Response examples

The campaign has been paused.

Status: 200
Body: none