Skip to content

Scheduled Email Tools

List the published comms starter templates (“Start From a Template” in the Communications composer) this event can start a planned email from. Returns id, name, description, purpose, style, category, the published subject and whether it has a design. Only published content is shown, never unpublished super-admin drafts. Pass an id as starter_template_id to create_scheduled_email_draft / update_scheduled_email_draft. Read-only.

Access: Read | Scope: Event

Parameter Type Required Description
event_id integer Yes ID of the event to operate on (see list_events). Must belong to an organization your key can access.

Create a planned email on this event’s Communications timeline as a DRAFT. Nothing is sent and nothing is queued: a draft never sends until it is published with publish_scheduled_email. Timing: schedule_type “fixed_date” (scheduled_date + scheduled_time, event timezone) or “relative_to_event” (relative_anchor before_start / event_day / after_end + relative_days + send_time). A draft may hold a past time; publishing refuses it. Audience: targeting_mode all / filter / specific / preset (audience_preset), same rules as the web composer. Content (content_source “custom”): EITHER starter_template_id (a published starter from list_comms_starter_templates, recoloured to the event brand like the web gallery; its subject is used when subject is omitted) OR mjml (a complete MJML document, compiled server-side; check it with validate_mjml first). content_source “invitation_email” uses the event’s invitation email and takes no content. Returns the draft and the next steps.

Access: Write | Scope: Event

Parameter Type Required Description
event_id integer Yes ID of the event to operate on (see list_events). Must belong to an organization your key can access.
name string Yes Internal name shown on the Communications timeline (max 255).
kind string Yes Email type. “survey” needs survey_id; “invitation” normally uses content_source “invitation_email”. One of: invitation, invitation_reminder, reminder, event_day, post_event, survey, other.
content_source string Yes “custom” = your own content (starter_template_id or mjml); “invitation_email” = the event’s invitation email. One of: custom, invitation_email.
subject string No Subject (max 255, merge tags allowed). Needed for custom content unless the starter template supplies one.
preview_text string No Inbox preview text (max 255).
starter_template_id integer No Content from a published starter (list_comms_starter_templates). Not with mjml.
mjml string No Content as a complete MJML document (max 100 KB), compiled server-side. Not with starter_template_id.
reply_to string No Reply-To address(es), comma separated (max 255). Empty = the event / organisation default.
cc_recipients string No CC address(es), comma separated (max 2000).
schedule_type string Yes “fixed_date” uses scheduled_date + scheduled_time; “relative_to_event” uses relative_anchor + relative_days + send_time. One of: fixed_date, relative_to_event.
scheduled_date string No YYYY-MM-DD, event timezone (fixed_date).
scheduled_time string No 24h HH:MM, event timezone (fixed_date).
relative_anchor string No “before_start” = relative_days before the start date; “event_day” = Day N of the event (Day 1 = start date); “after_end” = relative_days after the end date. One of: before_start, event_day, after_end.
relative_days integer No 0-365 (relative_to_event).
send_time string No 24h HH:MM, event timezone (relative_to_event).
targeting_mode string Yes “all” = every guest; “filter” = the target_* / registration_date_* / custom_field_filters; “specific” = selected_attendee_ids / selected_guest_ids; “preset” = audience_preset. One of: all, filter, specific, preset.
audience_preset string No Preset audience (targeting_mode “preset”): invitation_not_sent = Invited, invitation not sent yet; invited_no_reply = Invited, not replied; registered_not_checked_in = Registered (approved, payment OK), not checked in; checked_in = Checked in; no_shows = No-shows (registered, not checked in); checked_in_no_survey_response = Checked in, not responded to the survey. One of: invitation_not_sent, invited_no_reply, registered_not_checked_in, checked_in, no_shows, checked_in_no_survey_response.
survey_id integer No Survey of this event (required for kind “survey”; drives {{survey_link}}).
include_all_statuses boolean No Default false: rejected / declined guests and failed / refunded / cancelled / unpaid registrations are left out.
selected_attendee_ids array of integer No Attendee ids (targeting_mode “specific”); all must be on this event.
include_guests boolean No Also email group guests with their own address, where the audience allows it.
selected_guest_ids array of integer No Group guest ids (targeting_mode “specific”); all must be on this event.
target_checked_in boolean No Filter mode: include checked-in guests (default true).
target_not_checked_in boolean No Filter mode: include guests not checked in (default true).
registration_date_from string No Filter mode: registered on/after this date (YYYY-MM-DD).
registration_date_to string No Filter mode: registered on/before this date (YYYY-MM-DD).
custom_field_filters array of object No Filter mode: custom-field answers to match (all must match).
send_history_mode string No Skip (or only reach) people an earlier send of this event got. Needs send_history_campaign_id (see get_email_stats). One of: none, exclude_sent, exclude_received, only_failed.
send_history_campaign_id integer No Email campaign of this event that send_history_mode refers to.

Change a planned email (draft, live or paused). Only the arguments you pass change; everything else is kept. Same fields and rules as create_scheduled_email_draft. Like the web composer, a change to the subject, content, audience or time of a LIVE or PAUSED email puts it back to DRAFT (it will not send until published again) and clears its tested mark. Nothing is sent and nothing is queued. Sending, sent, failed and cancelled emails are refused.

Access: Write | Scope: Event

Parameter Type Required Description
event_id integer Yes ID of the event to operate on (see list_events). Must belong to an organization your key can access.
scheduled_email_id integer Yes ID of the scheduled email (see list_scheduled_emails; must belong to this event).
name string No Internal name shown on the Communications timeline (max 255).
kind string No Email type. “survey” needs survey_id; “invitation” normally uses content_source “invitation_email”. One of: invitation, invitation_reminder, reminder, event_day, post_event, survey, other.
content_source string No “custom” = your own content (starter_template_id or mjml); “invitation_email” = the event’s invitation email. One of: custom, invitation_email.
subject string No Subject (max 255, merge tags allowed). Needed for custom content unless the starter template supplies one.
preview_text string No Inbox preview text (max 255).
starter_template_id integer No Content from a published starter (list_comms_starter_templates). Not with mjml.
mjml string No Content as a complete MJML document (max 100 KB), compiled server-side. Not with starter_template_id.
reply_to string No Reply-To address(es), comma separated (max 255). Empty = the event / organisation default.
cc_recipients string No CC address(es), comma separated (max 2000).
schedule_type string No “fixed_date” uses scheduled_date + scheduled_time; “relative_to_event” uses relative_anchor + relative_days + send_time. One of: fixed_date, relative_to_event.
scheduled_date string No YYYY-MM-DD, event timezone (fixed_date).
scheduled_time string No 24h HH:MM, event timezone (fixed_date).
relative_anchor string No “before_start” = relative_days before the start date; “event_day” = Day N of the event (Day 1 = start date); “after_end” = relative_days after the end date. One of: before_start, event_day, after_end.
relative_days integer No 0-365 (relative_to_event).
send_time string No 24h HH:MM, event timezone (relative_to_event).
targeting_mode string No “all” = every guest; “filter” = the target_* / registration_date_* / custom_field_filters; “specific” = selected_attendee_ids / selected_guest_ids; “preset” = audience_preset. One of: all, filter, specific, preset.
audience_preset string No Preset audience (targeting_mode “preset”): invitation_not_sent = Invited, invitation not sent yet; invited_no_reply = Invited, not replied; registered_not_checked_in = Registered (approved, payment OK), not checked in; checked_in = Checked in; no_shows = No-shows (registered, not checked in); checked_in_no_survey_response = Checked in, not responded to the survey. One of: invitation_not_sent, invited_no_reply, registered_not_checked_in, checked_in, no_shows, checked_in_no_survey_response.
survey_id integer No Survey of this event (required for kind “survey”; drives {{survey_link}}).
include_all_statuses boolean No Default false: rejected / declined guests and failed / refunded / cancelled / unpaid registrations are left out.
selected_attendee_ids array of integer No Attendee ids (targeting_mode “specific”); all must be on this event.
include_guests boolean No Also email group guests with their own address, where the audience allows it.
selected_guest_ids array of integer No Group guest ids (targeting_mode “specific”); all must be on this event.
target_checked_in boolean No Filter mode: include checked-in guests (default true).
target_not_checked_in boolean No Filter mode: include guests not checked in (default true).
registration_date_from string No Filter mode: registered on/after this date (YYYY-MM-DD).
registration_date_to string No Filter mode: registered on/before this date (YYYY-MM-DD).
custom_field_filters array of object No Filter mode: custom-field answers to match (all must match).
send_history_mode string No Skip (or only reach) people an earlier send of this event got. Needs send_history_campaign_id (see get_email_stats). One of: none, exclude_sent, exclude_received, only_failed.
send_history_campaign_id integer No Email campaign of this event that send_history_mode refers to.

Run the publish checklist for a planned email without changing it (the review panel of the web Communications tab): subject and content, audience (recipients after suppressed / bounced / unsubscribed), send time (at least 10 minutes away), tested, and sender settings. Read-only; nothing is sent.

Access: Read | Scope: Event

Parameter Type Required Description
event_id integer Yes ID of the event to operate on (see list_events). Must belong to an organization your key can access.
scheduled_email_id integer Yes ID of the scheduled email (must belong to this event).
preview_confirmed boolean No Treat the “Tested” item as passed because the content was reviewed (the web “I’ve checked the preview” box). Default false.

PUBLISH a draft: it goes LIVE and the scheduler WILL SEND IT, for real, to its audience at the scheduled time (re-resolving the audience then). Nothing is sent right now. Runs the same checklist as the web Publish button (see get_scheduled_email_publish_checklist) and refuses when any item fails, including a send time in the past or less than 10 minutes away. Only drafts can be published. To stop it afterwards use pause_scheduled_email or cancel_scheduled_email before it starts sending. Requires confirm=true.

Access: Write | Scope: Event

Parameter Type Required Description
event_id integer Yes ID of the event to operate on (see list_events). Must belong to an organization your key can access.
scheduled_email_id integer Yes ID of the draft to publish (must belong to this event).
preview_confirmed boolean No Pass true only when the content has been reviewed and no test was sent from the web (the “I’ve checked the preview” box). Default false.
confirm boolean Yes Must be true. Confirms this email WILL be sent to its audience at the scheduled time.

Pause a LIVE planned email so it does not send until resumed. Only live emails that have not started sending can be paused. Sends nothing.

Access: Write | Scope: Event

Parameter Type Required Description
event_id integer Yes ID of the event to operate on (see list_events). Must belong to an organization your key can access.
scheduled_email_id integer Yes ID of the live scheduled email (must belong to this event).

Resume a PAUSED planned email: it goes LIVE again and the scheduler WILL SEND IT at its send time. Nothing is sent right now. Keeps its time, or takes a new one (scheduled_date + scheduled_time, event timezone; the email becomes a fixed-date email). Refused when the send time has passed or is less than 10 minutes away. Requires confirm=true.

Access: Write | Scope: Event

Parameter Type Required Description
event_id integer Yes ID of the event to operate on (see list_events). Must belong to an organization your key can access.
scheduled_email_id integer Yes ID of the paused scheduled email (must belong to this event).
scheduled_date string No Optional new date, YYYY-MM-DD (event timezone). Needs scheduled_time.
scheduled_time string No Optional new time, 24h HH:MM (event timezone). Needs scheduled_date.
confirm boolean Yes Must be true. Confirms this email WILL be sent at its send time.