curl --request POST \
--url https://api.salessequencer.com/api/v1/campaigns/{campaign_id}/settings \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"bcc": "<string>",
"cc": "<string>",
"max_gap_minutes": 123,
"min_gap_minutes": 123,
"send_days": [
123
],
"send_hour_end": 123,
"send_hour_start": 123,
"send_tz_offset": 123
}
'import requests
url = "https://api.salessequencer.com/api/v1/campaigns/{campaign_id}/settings"
payload = {
"bcc": "<string>",
"cc": "<string>",
"max_gap_minutes": 123,
"min_gap_minutes": 123,
"send_days": [123],
"send_hour_end": 123,
"send_hour_start": 123,
"send_tz_offset": 123
}
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({
bcc: '<string>',
cc: '<string>',
max_gap_minutes: 123,
min_gap_minutes: 123,
send_days: [123],
send_hour_end: 123,
send_hour_start: 123,
send_tz_offset: 123
})
};
fetch('https://api.salessequencer.com/api/v1/campaigns/{campaign_id}/settings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Save sending schedule
Overwrites the campaign’s sending schedule. Fields not sent are CLEARED, not kept: send_hour_start/end and send_tz_offset become null, send_days becomes every day, max_gap_minutes becomes null, cc and bcc become null. Only min_gap_minutes is kept when omitted or negative. The hour window is both-or-neither: if either hour is missing, both are cleared. 404 if the campaign is not in the workspace.
Minimum role: edit (x-min-role). Destructive: false (x-destructive).
curl --request POST \
--url https://api.salessequencer.com/api/v1/campaigns/{campaign_id}/settings \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"bcc": "<string>",
"cc": "<string>",
"max_gap_minutes": 123,
"min_gap_minutes": 123,
"send_days": [
123
],
"send_hour_end": 123,
"send_hour_start": 123,
"send_tz_offset": 123
}
'import requests
url = "https://api.salessequencer.com/api/v1/campaigns/{campaign_id}/settings"
payload = {
"bcc": "<string>",
"cc": "<string>",
"max_gap_minutes": 123,
"min_gap_minutes": 123,
"send_days": [123],
"send_hour_end": 123,
"send_hour_start": 123,
"send_tz_offset": 123
}
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({
bcc: '<string>',
cc: '<string>',
max_gap_minutes: 123,
min_gap_minutes: 123,
send_days: [123],
send_hour_end: 123,
send_hour_start: 123,
send_tz_offset: 123
})
};
fetch('https://api.salessequencer.com/api/v1/campaigns/{campaign_id}/settings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Authorizations
Path Parameters
Body
BCC address added to every send. Omit to clear.
CC address added to every send. Omit to clear.
Maximum gap in minutes (>= 0). Omit to clear.
Minimum minutes between sends from one mailbox (>= 0).
Repeatable. Weekday numbers 0-6 (Mon=0, Sun=6). Empty means every day.
Window end hour in the campaign timezone.
Window start hour (0-23) in the campaign timezone.
Timezone as minutes east of UTC (e.g. 330 = IST, -300 = ET, 0 = UTC).
Response
Redirect to the campaign settings tab; flash 'Settings saved'.