Archive a campaign
curl --request POST \
--url https://api.salessequencer.com/api/v1/campaigns/{campaign_id}/archive \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"redirect_to": "<string>"
}
'import requests
url = "https://api.salessequencer.com/api/v1/campaigns/{campaign_id}/archive"
payload = { "redirect_to": "<string>" }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({redirect_to: '<string>'})
};
fetch('https://api.salessequencer.com/api/v1/campaigns/{campaign_id}/archive', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Campaigns
Archive a campaign
Sets status to archived: it never sends, cannot be launched, and the campaigns page lists it under Archived only. Leads, sends and replies are kept. Works from any status.
Minimum role: edit (x-min-role). Destructive: false (x-destructive).
POST
/
campaigns
/
{campaign_id}
/
archive
Archive a campaign
curl --request POST \
--url https://api.salessequencer.com/api/v1/campaigns/{campaign_id}/archive \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"redirect_to": "<string>"
}
'import requests
url = "https://api.salessequencer.com/api/v1/campaigns/{campaign_id}/archive"
payload = { "redirect_to": "<string>" }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({redirect_to: '<string>'})
};
fetch('https://api.salessequencer.com/api/v1/campaigns/{campaign_id}/archive', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));