Get email templates
Get the list of email templates in Subrite, with template type, locale and the MJML template source.
ReferenceView as Markdown
Get the email template list from Subrite.
- Method:
GET - Route:
{baseUrl}/api/v1/communications/email/list - Authorization: Bearer token (use the M2M token from )
Success response#
[
{
id: 15,
createdAt: '2025-02-27T10:52:11.226Z',
metaData: null,
name: 'Second Default Email Template (with unsubscribe)',
templateType: 'emailStandard',
communicationChannel: 'email',
locale: 'en',
template: '<mjml>...</mjml>',
},
];