Templates

Preview template from gallery example

Changed on

Rewrites a public email from the Sequenzy email gallery for your brand, or for another website, and returns it without saving anything. Same rewrite as Create Template from Example. Usually takes 5 to 20 seconds. Requires templates:write.

post/templates/from-example/preview

Request

  • Base URL
    https://api.sequenzy.com/api/v1
  • URL
    https://api.sequenzy.com/api/v1/templates/from-example/preview
  • Auth
    HTTP bearer

Request body

urlstring

Gallery email page URL, or a sequence page URL ending in #email-{email}.

brandstring

Gallery brand slug. Use with email instead of url.

emailstring

Gallery email slug. Use with brand instead of url.

briefstring

Optional direction for the email. Takes priority over the example.

websitestring

Optional site or domain, such as acme.com, to write the preview for instead of your own brand. Its registrable domain is looked up like the public gallery preview. Omit it to use your company's brand profile.

Response

Preview written. Nothing was saved.

successboolean
messagestring

Example response

{
  "success": true
}

Changes