Integration
Overview
Once you've created and customized your email template, you can integrate it with your application using the Email API or SMTP. This guide shows you how to get the necessary credentials and code samples to send emails using your templates.
Integration steps
Navigate to Templates in the menu on the left.

Click the template you want to call using the API.

Open the Integration tab.

With Email API/SMTP toggled on, click Integrate under Transactional Stream or Bulk Stream.

Copy the necessary credentials such as Host, API Token, and Template UUID.


Paste the code into your project and customize it if needed. Then, run the code to send an email to the email address you indicated in your script.
For more details, open the API docs and go to Email Sending API → Emails → Send email (including template) for transactional stream and Bulk Sending API → Emails → Send email (including template) for bulk stream. Under Body, click the dropdown menu, and choose EmailFromTemplate.
Last updated
Was this helpful?

