You can use Unlayer's Export API to generate HTML, Image, PDF or ZIP file of your templates or designs.

The Export API helps you take care these common use-cases:

  • Retrieving the HTML: This is useful if you do not store the HTML, or need to retrieve the latest HTML for a design.
  • Generating a Image: This is useful to show thumbnails or previews of designs to users.
  • Generating a PDF: You can use this to export a design in PDF format.
  • Generating a ZIP: This will export a design as a ZIP file that will include their html and images.