Campaigns
Save Campaign Schedule
Create or update a campaign schedule.
POST
Create or update the schedule for a campaign. Setting a schedule automatically updates the campaign status.
Path Parameters
campaign_id(integer, required): The unique identifier of the campaign
Request Body
Schedule Types
Immediate
Immediate
Campaign starts when you call the start endpoint.Effect: Campaign status remains
Request
draft until started manually.Scheduled (Once)
Scheduled (Once)
Campaign runs at a specific date and time.Effect: Campaign status changes to
Request
scheduled automatically.Recurring
Recurring
Campaign runs on a repeating schedule.Effect: Campaign status changes to
Request
scheduled automatically.Recurring Config Options
Response
Response
Example Code
cURL
Python
JavaScript
Behavior
- Immediate: Clears any existing schedule, reverts to
draftifscheduled - Scheduled/Recurring: Creates schedule record, sets campaign to
scheduled - Past times: Returns 400 error - time must be in the future
Error Responses
Timezone Support
Common timezone values:Always specify timezone when scheduling. If omitted, the system uses UTC which may not match your intended local time.