Unarchive a campaign
curl --request POST \
--url https://api.salessequencer.com/api/v1/campaigns/{campaign_id}/unarchive \
--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}/unarchive"
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}/unarchive', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Campaigns
Unarchive a campaign
Moves an archived campaign back to paused (it never resumes sending by itself; launch it to send again). No change if it is not archived.
Minimum role: edit (x-min-role). Destructive: false (x-destructive).
POST
/
campaigns
/
{campaign_id}
/
unarchive
Unarchive a campaign
curl --request POST \
--url https://api.salessequencer.com/api/v1/campaigns/{campaign_id}/unarchive \
--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}/unarchive"
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}/unarchive', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));