Skip to main content

How simply export emails/templates to HTML file using Stripo API

In this article you will find out how to export your email/template to an HTML file using the Stripo API

Oleh Tokariev avatar
Written by Oleh Tokariev
Updated over 10 months ago

Export an email as an HTML file

This method allows exporting any Email from a user’s project to the HTML file for further mailings:

https://my.stripo.email/emailgeneration/v1/export/html/emails/{id}

{id} - your email's id;

Export a template as an HTML file

This method allows exporting any Template from a user’s project to the HTML file for further mailings:

https://my.stripo.email/emailgeneration/v1/export/html/templates/{id}

{id} - your template's id;

You can find your email/template id by clicking on "three dots" icon > "Get info" tab

How to send the API request to export your email/template (in Postman)

Please create the needed method by clicking on "+" button.

Then set the GET method and add /emails/{id} or /templates/{id} to the API URL

The final result should be: https://my.stripo.email/emailgeneration/v1/export/html/emails/{id}

or

https://my.stripo.email/emailgeneration/v1/export/html/templates/{id}

Please set two keys and their value:

Key

Value

Stripo-Api-Auth
YOUR_JWT_TOKEN
Content-Type
application/json

Now you can send the GET call by clicking on the blue button "SEND".

If you have compiled HTML in the Body and Status 200 ok, everything worked well!

📘 Once you obtain your token, you must use it in every API call you make

according to API Reference docs.

For more details, please follow Stripo API documentation here.


Thank you for taking the time to read our articles. We hope you will find this information helpful.


If you have any additional questions, please email us at support@stripo.email.

We would be glad to talk with you.


Did this answer your question?