Skip to navigation

Get template

Authentication

x-api-keystring

Account authentication key. The App-Key must have the Email channel enabled and a sender (mailing output) linked; it cannot be used against the endpoints of other channels.

OR
AuthorizationBearer

OAuth 2.0 access token issued by POST /api/oauth/token (client-credentials). Takes precedence over x-api-key when both are sent. See the Authentication section.

Path parameters

idstringRequiredformat: "^[a-fA-F0-9]{24}$"

Template id (24 hexadecimal characters).

Response

The template.
_idstringOptional

Value to use as template_id when sending.

namestringOptional
variableslist of stringsOptional

Placeholders ({{variable}}) found in the template HTML, without repetitions. All of them must be sent in variables.

created_atdatetimeOptional
updated_atdatetimeOptional

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error