Update a sequence email
update_sequence_emailModify an email in a Kit sequence: subject, content, send days, delay, position, or publish status. Use confirm=true for delivery or destructive changes.
Instructions
Update a sequence email. May affect delivery, audience membership, published data or irreversible state. Requires confirm=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Named private account from KIT_ACCOUNTS. Defaults to KIT_DEFAULT_ACCOUNT or the first configured account. | |
| confirm | No | Must be true for audience/delivery changes, publishing, destructive operations and signing-secret changes. Use only for an action requested by the user. | |
| content | No | New HTML body content of the email | |
| payload | No | Complete JSON body instead of individual body flags. Supports nullable fields and nested bulk structures. Cannot be combined with body flags or payload_file. | |
| subject | No | New subject line for the email | |
| email_id | Yes | Positive email id. | |
| position | No | New zero-based position of the email in the sequence | |
| published | No | Pass `true` to publish a draft email or `false` to unpublish it | |
| send_days | No | Days of the week this email may be sent. Pass a subset to restrict delivery, or `null` to reset to all days (inherits the sequence schedule) | |
| delay_unit | No | New delay unit. Use `days` for schedule-aware delivery, `hours` for a fixed hourly delay | |
| delay_value | No | New delay value | |
| sequence_id | Yes | Positive sequence id. | |
| payload_file | No | Local JSON request body file, at most 5 MB. Contents are validated before the API call and are never logged. | |
| preview_text | No | New preview text shown in email clients before the email is opened | |
| email_template_id | No | New email template ID for layout and styling. Pass `null` to clear |