Skip to main content

Template list

Api call to subrite to get the email template list

  • Method: GET
  • Route: {baseUrl}/api/v1/communications/email/list
  • Authorization: Bearer token (use the m2m token collected in ## configuration)

Success API 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>',
},
];