scheduled_start_at it is created as a draft: add leads, then start it with Update campaign status. With scheduled_start_at it is created as scheduled and starts by itself at that time. To change its settings later, use Update campaign.
Supported channels:
call(default) — outbound voice with an OUTBOUND assistantwhatsapp— approved WhatsApp template via one of your senderssms— SMS body from an SMS-capable number (may be temporarily unavailable on the platform)
phone_number_ids, which only call campaigns accept.
Request body
Shared
namestring required
Campaign name. Maximum 255 characters.
channel string (default: call)
call, whatsapp, or sms.
timezone string
IANA timezone for the send/call window (e.g. America/New_York). Defaults to the assistant timezone for call campaigns, otherwise your account timezone.
schedule_windows array
Preferred schedule: 1 to 6 daily windows as objects with start and end in HH:MM. Overnight windows are supported when end is earlier than start (e.g. 16:00 → 02:00). Defaults to one window from 09:00 to 18:00.
allowed_hours_start_time string (default: 09:00)
Legacy single-window start (HH:MM). Used if schedule_windows is omitted.
allowed_hours_end_time string (default: 18:00)
Legacy single-window end (HH:MM). Overnight when end < start.
scheduled_start_at string
ISO 8601 date and time. Without an offset it is read in the campaign timezone. The date cannot be before today. When set, the campaign is created as scheduled and starts by itself at that time; otherwise it is draft.
allowed_days array (default: all 7 days)
Weekdays: monday … sunday.
max_retries integer (default: 3)
Max retry attempts per lead. Range: 1–5.
retry_interval integer (default: 60)
Minutes between retries. Range: 10–4320.
mark_complete_when_no_leads boolean (default: false)
false keeps the campaign waiting for new leads, which campaigns fed by an automation or the API need. true completes it once every lead has been processed; leads added after that are not contacted until it is started again.
Call campaigns
assistant_idinteger
Required for channel=call. Must be an OUTBOUND assistant you own.
max_calls_in_parallel integer (default: 3)
Concurrent calls, up to your plan’s limit (max 10). Defaults to 3, or to your plan’s limit when it is lower.
phone_number_ids array
Outbound from-number IDs available to your account. Call campaigns only: sending it for a WhatsApp or SMS campaign returns 422.
retry_on_voicemail boolean
Retry when a call hits voicemail.
retry_on_goal_incomplete boolean
Keep retrying until a boolean post-call goal variable is true.
goal_completion_variable string
Boolean post-call schema variable name used with retry_on_goal_incomplete.
fallback_channel string
Optional call→text follow-up after max call retries: whatsapp or sms.
fallback_whatsapp_sender_id integer
Required when fallback_channel=whatsapp.
fallback_whatsapp_template_id integer
Required when fallback_channel=whatsapp. Must be an approved template on that sender.
fallback_sms_from_phone_number_id integer
Required when fallback_channel=sms.
fallback_sms_body string
Required when fallback_channel=sms. Supports {{variable}} placeholders.
fallback_variable_mapping object
Maps WhatsApp template placeholders (e.g. "1") to lead variable keys for the fallback send. Must map every placeholder of the template to a lead variable, and nothing else.
WhatsApp campaigns
whatsapp_sender_idinteger
Required for channel=whatsapp. Sender you own.
whatsapp_template_id integer
Required for channel=whatsapp. Approved template on that sender.
text_variable_mapping object
Maps template placeholders (e.g. "1") to lead variable keys. Must map every placeholder of the template to a lead variable, and nothing else.
messages_per_minute integer (default: 10)
Per-campaign send rate (1–10). WhatsApp campaigns also share a user-wide pool of 10 in-flight sends across all your active WhatsApp campaigns.
SMS campaigns
sms_from_phone_number_idinteger
Required for channel=sms. Must be SMS-capable and available to you.
sms_body string
Required for channel=sms. Max 1600 characters. Supports {{variable}} placeholders.
Response
messagestring
Success message
data object
Created campaign (same shape as Get campaign), including channel, schedule, text config, and fallback fields. status is scheduled when scheduled_start_at is set, otherwise draft.
Error responses
422 Unprocessable Entity Plan limit, invalid assistant/sender/template, disabled channel, or validation errors.201 Created (call)
201 Created (whatsapp)

