Returns the template information

Authentication

api-keystring

The API key should be passed in the request headers as api-key for authentication.

Path parameters

templateIdlongRequired
id of the template

Response

Email template informations
createdAtstring

Creation UTC date-time of the template (YYYY-MM-DDTHH:mm:ss.SSSZ)

htmlContentstring
HTML content of the template
idlong
ID of the template
isActiveboolean

Status of template (true=active, false=inactive)

modifiedAtstring

Last modification UTC date-time of the template (YYYY-MM-DDTHH:mm:ss.SSSZ)

namestring
Name of the template
replyTostringformat: "email"
Email defined as the "Reply to" for the template
senderobject
subjectstring
Subject of the template
tagstring
Tag of the template
testSentboolean

Status of test sending for the template (true=test email has been sent, false=test email has not been sent)

toFieldstring
Customisation of the "to" field for the template
doiTemplateboolean or null

It is true if template is a valid Double opt-in (DOI) template, otherwise it is false. This field will be available only in case of single template detail call.

Errors