Create a new schedule for sending messages to an audience.
blast or automated.true for a recurring schedule that runs on selected days of the week, or false for a one-time send.HH:MM format (24-hour clock). For example, "14:30" for 2:30 PM.draft, off, on. Defaults to draft.is_repeating is false.is_repeating is true.is_repeating is true.monday, tuesday, wednesday, thursday, friday, saturday, sunday. Values are booleans. At least one day must be true.0 to disable.true, send_time is interpreted in each recipient’s local timezone rather than the account timezone.true to send MMS messages with image attachments.0 and 100.send_type is blast.true if the schedule was created successfully.id. See List Schedules for the complete schedule object schema.| HTTP Status | Error Code | Description |
|---|---|---|
| 400 | missing_name | The name field is required. |
| 400 | missing_send_type | The send_type field is required. |
| 400 | invalid_send_type | send_type must be blast or automated. |
| 400 | missing_is_repeating | The is_repeating field is required. |
| 400 | missing_send_time | The send_time field is required. |
| 400 | missing_audiences | At least one audience ID is required. |
| 400 | invalid_status | status must be draft, off, or on. |
| 400 | missing_send_date | send_date is required for one-time (non-repeating) schedules. |
| 400 | missing_start_date | start_date is required for repeating schedules. |
| 400 | missing_end_date | end_date is required for repeating schedules. |
| 400 | no_days_selected | At least one day must be true in days_of_week for repeating schedules. |
| 400 | missing_blasts | Blast variants are required when send_type is blast. |
| 400 | invalid_blast_percent | The percent_audience values across all blasts must sum to exactly 100. |
| 400 | missing_blast_message | Each blast variant must include a message. |
| 404 | audience_not_found | One or more audience IDs do not exist or are not active. |
| 404 | source_list_not_found | One or more source list IDs do not exist on this account. |
| 404 | offer_not_found | One or more offer IDs referenced in offer_links do not exist. |
| 401 | unauthorized | API key is missing, invalid, or revoked. |