Skip to main content
POST
Create Template from Example
Remix a public email from the Sequenzy email gallery into a new email template for your company. The new email keeps the example’s exact layout and design. AI rewrites every piece of text for your company, and Sequenzy swaps in your logo, brand color and website links. The example brand is never named, and none of its copy, offers or claims are reused. Its legal footer is removed; your own compliant footer is added when you send. The new email is saved as a reusable HTML template (it opens in the HTML editor), the same as Remix this email in the dashboard. Review it before you send it. Generation usually takes 5 to 20 seconds. Nothing is saved when generation fails, so retrying is safe. Every successful call creates another template. Requires the templates:write scope.

Request

Identify the example with url, or with brand and email. Sending both returns 400.
string
Gallery email page URL, such as https://sequenzy.com/email-examples/brands/linear/emails/welcome-to-linear. A sequence URL returns 400; use Create Sequence from Example for sequences.
string
Gallery brand slug, from /email-examples/brands/{brand}/.... Use with email.
string
Gallery email slug, from /emails/{email}. Use with brand.
string
Optional direction for the new email, up to 1000 characters. It takes priority over the example, for instance “Announce our mobile app”.
string
Template name, up to 200 characters. Defaults to the generated subject followed by “(remix of )”.

Response

object
The new template: id, name, subject, previewText and isTemplate (always true). Edit it with Update Template.
object
The gallery example it was modeled on: brand, subject and url.
A 404 with code EMAIL_GALLERY_UNAVAILABLE means the email gallery is not available yet. A 503 with code REMIX_FAILED means the rewrite came back incomplete; nothing was saved, so retry. A 422 means a field failed validation, such as a brief over 1000 characters.