Creates an outbound voice campaign and schedules calls to the provided customers.
Timezone handling:
All time values (startTime, endTime, and daySchedules entries) are wall-clock times interpreted in the campaign’s timezone. For example, startTime: "09:00" with timezone: "Europe/Prague" means 09:00 CET/CEST (depending on DST). See the IANA timezone list for valid identifiers.
Per-day schedule overrides:
Use daySchedules to set different calling hours for specific days. Days not listed in daySchedules use the global startTime/endTime window. Days not in activeDays are inactive regardless of daySchedules.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
1ID of the AI assistant
Name of the AI assistant (alternative to assistantId)
When campaign starts (YYYY-MM-DD). Omit for immediate start.
Default daily window start as wall-clock time in the campaign timezone (HH:MM). Also defines retry window start. Can be overridden per day via daySchedules.
^\d{2}:\d{2}(:\d{2})?$IANA timezone identifier (e.g., 'Europe/Prague', 'America/New_York'). All time values — startTime, endTime, and daySchedules entries — are interpreted as wall-clock times in this timezone. See https://en.wikipedia.org/wiki/List_of_tz_database_time_zones for valid identifiers.
Default daily window end as wall-clock time in the campaign timezone (HH:MM). Retries only happen between startTime and endTime. Can be overridden per day via daySchedules.
^\d{2}:\d{2}(:\d{2})?$Days retries can happen (0=Monday, 6=Sunday)
0 <= x <= 6Sparse per-day schedule overrides. Keys are day indices (0=Monday, 6=Sunday), values are {startTime, endTime} as wall-clock times in the campaign timezone. Only include days that differ from the global startTime/endTime. Days not listed here use the global window.
Caller ID phone number
Number of retry attempts (0-10)
0 <= x <= 10Delay between retries in seconds (0-86400)
0 <= x <= 86400fixed, next_day Array of call outcome values to retry on (SipCodeCategory + special endedReason values)
Rejected, Unreachable, Busy, No Answer, Network Error, Invalid, Timeout, Cancelled, Resource Unavailable, Service Unavailable, Protocol Error, Unspecified, voicemail, exceeded-max-duration List of customers to call
Simple list of phone numbers (alternative to customers)