Returns the template information
Retrieve the full details of a specific transactional email template by its numeric ID or custom template identifier string. The response includes the template name, subject, sender information, HTML content, active status, creation and modification timestamps, reply-to address, tag, and a doiTemplate flag indicating whether the template is a double opt-in template (detected by the presence of optin-related tags or variables in the content).
Authentication
The API key should be passed in the request headers as api-key for authentication.
OAuth 2.0 client_credentials (machine-to-machine) grant. Exchange your app’s client_id/client_secret for a short-lived Bearer token.
Path parameters
ID of the template. Can be a numeric template ID or a custom template identifier string (alphanumeric, hyphens, and underscores only, max 64 characters, must start with a letter).
Response
Creation UTC date-time of the template (YYYY-MM-DDTHH:mm:ss.SSSZ)
Status of template (true=active, false=inactive)
Last modification UTC date-time of the template (YYYY-MM-DDTHH:mm:ss.SSSZ)
Status of test sending for the template (true=test email has been sent, false=test email has not been sent)
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.