Get a list of all email templates on this platform

Use the following endpoint to get a list of all email templates created in your platform. There is no limit in the number of custom email templates you can create:

EndpointPurpose
GET {URI}/emailTemplatesGet a list of all Email Templates on this Platform.

The following query parameters specify the format of data when you get a list of all email templates on this Platform. The response is paginated and defaults to the first page. The default is 25 templates per page if no page number is specified:

Query paramsData typeDescription
elementsPerBlockint32specify the number of elements in a block.
pageint32specify the page number to return.

See the payload example below for this endpoint. The default number of templates are shown here:

{
  "page": {
    "number": 0,
    "elementsPerBlock": 25,
    "resultCount": 25,
    "totalCount": 99
  },
  "emailTemplates": [
    {
      "etid": "string",
      "name": "string",
      "fromName": "string",
      "subject": "string",
      "headerImage": "string",
      "headerImageAltText": "string",
      "accentColor": "string",
      "messageBody": "string",
      "closing": "string",
      "customerServiceMessage": "string",
      "accessControls": [
        {
          "type": "PLATFORM",
          "identifier": "string"
        }
      ],
      "defaults": [
        {
          "type": "PLATFORM",
          "identifier": "string"
        }
      ]
    }
  ]
}

Here's an example payload for when you receive an error:

{
  "timestamp": "2025-02-21T23:23:13.930Z",
  "requestId": "string",
  "path": "string",
  "httpCode": 0,
  "httpPhrase": "string",
  "i18nKey": "string",
  "message": "The error message will show here for error codes ",
  "errors": [
    {}
  ]
}

The possible response codes for this endpoint are:

  • 200 OK
  • 400 Bad Request
  • 401 Unauthorized
  • 403 Forbidden

© 2025 Tango API are provided by Tango, a division of BHN, Inc.