Sequences
Preview Sequence from Example
See the first emails of an email gallery sequence written for your brand
POST
Preview Sequence from Example
Rewrite the first 3 emails of a public sequence from the Sequenzy email gallery and get them back without creating anything. Each email keeps the example’s layout with every word written for your brand.
By default the preview is written for your company’s brand profile. Pass
A 400 means a missing, conflicting or invalid example reference, or a malformed
website to write it for another site instead, such as a prospect or a client.
The emails are written in parallel. Any that could not be written this time are counted in failedEmailCount; the call fails only when none could be written. It usually takes 10 to 30 seconds. To create the sequence, call Create Sequence from Example, which writes every email again for your own brand.
Requires the sequences:write scope.
Request
Identify the example withurl, or with brand and sequence. Sending both returns 400.
string
Gallery sequence page URL, such as
https://sequenzy.com/email-examples/brands/linear/sequences/onboarding. An
email URL returns 400; use Preview Template from
Example for one email.string
Gallery brand slug. Use with
sequence.string
Gallery sequence slug, from
/sequences/{sequence}. Use with brand.string
Optional direction for every email, up to 1000 characters. It takes priority
over the example.
string
Optional site or domain, such as
acme.com, to write the preview for instead
of your own brand. Its registrable domain is used. A value that is not a site
returns 400.Response
object
The unsaved rewrite:
brandName, website (null for your own brand),
emails, remainingEmailCount (emails in the example beyond the preview) and
failedEmailCount (previewed emails that could not be written this time).
Each email has stepNumber (its position in the example, from 1), day,
originalSubject, subject, previewText and html.object
The gallery sequence it is modeled on:
brand, name, emailCount and
url.website. A 404 with code EMAIL_GALLERY_UNAVAILABLE means the email gallery is not available yet. A 422 means a field failed validation.