EmailTemplateFiles
Get one EmailTemplateFile
Retrieve a single EmailTemplateFile record by its Id.
GET
Get one EmailTemplateFile
An email template override defines the subject, body, and optional sender or copy recipients for an automated message at one location in one configured language; built-in files are used when no override is saved.
Authentication
This endpoint requires OAuth2 authentication. Include a valid bearer token in the
Authorization header.
The authenticated user must be a full unrestricted administrator or have the EmailTemplateFile-Read role.Path Parameters
integer
required
The Id of the EmailTemplateFile record to retrieve.
Code Examples
Response
200
integer
ID of the location whose automated email template this record overrides..
integer
Obsolete legacy language enum; use FileLanguage to select the configured location language instead.. See
eLanguage enum values: 3 = EnglishUK, 1 = EnglishUS, 2 = Spanish.integer
ID of the configured location language for this template override; together with Name and Business it identifies the saved template..
string
Built-in email message identifier this record overrides, such as the identifier for a welcome, invoice, booking confirmation, or reminder email; required and limited to 254 characters..
string
Required email subject line, up to 254 characters; supported message tokens are replaced before the email is queued..
string
Email body content for this location and language; supported message tokens are replaced before the email is queued..
string
Optional Unlayer design JSON used to continue visual editing; FileContents remains the exported HTML used for delivery..
boolean
Whether this template is marked as text-only; the current message dispatch path stores and transfers this flag without using it to transform the body..
string
Optional sender display name passed to email delivery, limited to 254 characters..
string
Optional sender email address passed to email delivery, limited to 254 characters..
string
Optional carbon-copy recipient email address passed to email delivery, limited to 254 characters..
string
Optional blind-carbon-copy recipient email address passed to email delivery, limited to 254 characters..
integer
Unique record identifier.
string
UUID of the record.
string
Date and time the record was created (ISO 8601).
string
Date and time the record was last updated (ISO 8601).
string
Email of the user who last updated this record.
boolean
Whether the record was recently created.
string
External system identifier.
Example Response