Launch a campaign
curl --request POST \
--url https://api.salessequencer.com/api/v1/campaigns/{campaign_id}/launch \
--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}/launch"
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}/launch', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Campaigns
Launch a campaign
Sets status to active so the scheduler starts sending real email to the campaign’s pending contacts. Refuses with flash ‘Cannot launch: no pending contacts. Upload leads first.’ when there are none (status unchanged).
Minimum role: edit (x-min-role). Destructive: true (x-destructive).
POST
/
campaigns
/
{campaign_id}
/
launch
Launch a campaign
curl --request POST \
--url https://api.salessequencer.com/api/v1/campaigns/{campaign_id}/launch \
--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}/launch"
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}/launch', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));