Summary
- What is a template ID?
- Where can I find my transactional template ID?
- Where can I find my marketing and automation template IDs?
- Important note
What is a template ID?
A template ID is a unique identifier for a template that has been created and stored in Mailjet's system. This ID is essential for sending both transactional and marketing emails through the Send API. You can retrieve the template ID either via the Content API or directly within the Mailjet platform.
This article provides detailed instructions on how to locate the template ID within the Mailjet platform.
Where can I find my transactional template ID?
You can locate your transactional template ID in several places within the Mailjet platform:
1. On the Template Design Page
- Click Preview & Test and select Use the Send API.
- A new window will appear, displaying the template ID along with a code sample for using the Send API.
2. Next to the Template Name
- The template ID is visible next to the template name on the template design page.
3. On the Confirmation Page
- After publishing a template, the ID is displayed on the confirmation page.
4. On the Template Management Page
- Switch to the list view to see template IDs displayed below the respective template names.
Where can I find my marketing and automation template IDs?
You can locate these template IDs within the Mailjet platform:
1. On the Template Design Page
- The template ID is visible next to the template name.
2. On the Template Management Page
- In list view, the template ID is displayed below the template name.
Important note
The template ID required for the Send API is not the same as the one visible in the URL of your template. To ensure the integrity of your API calls, use one of the methods outlined above to retrieve the correct template ID.