Skip to main content

Edit campaign

This action changes the status of a campaign to the EDITED status. It allows you to make changes to a campaign - modify its general settings, content of the emails, delay between steps, etc. Refer to other /campaigns endpoints to edit the campaign.

Request

Endpoint

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

Headers

x-api-key: {YOUR_API_KEY}

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

Request sample

Edit a campaign

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

Response

Response examples

The campaign status has been changed to EDITED.

Status: 200
Body: none