Edit sequence emails with AI
Changed onChanges a sequence's emails with AI in one request, like the Emails view in the sequence editor. The prompt says what to change, in any language. Without emailIds the prompt decides which emails change, every email unless it names some. A look change is made identical across the emails it restyles, down to each kind of block's style. A prompt asking to make emails look like one of them copies that email's style exactly, without AI. A request for design variations ("make a few variations of email 1") returns 400; use Generate Sequence Email Variations instead. Each email succeeds or fails on its own; changed emails are saved unless dryRun is true. An email written in HTML is edited as HTML. A/B test steps and steps without an email are skipped. Runs synchronously; one request edits up to 12 emails. An email saved elsewhere while the AI worked is not overwritten (saved false with an error).
Request
- Base URLhttps://api.sequenzy.com/api/v1
- URLhttps://api.sequenzy.com/api/v1/sequences/{sequenceId}/emails/edit
- AuthHTTP bearer
Path parameters
Sequence ID
Request body
Example request
{
"prompt": "Make the background cream and remove the header"
}Response
Each email's result, in sending order
Example response
{
"success": true,
"emails": [
{
"label": "Email 2"
}
]
}Changes
- info
endpoint added
- info