EmailTemplateFiles
Search EmailTemplateFiles
Search and list EmailTemplateFile records with filtering, sorting, and pagination.
GET
Search EmailTemplateFiles
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-List role.Enums
eLanguage — Language values
eLanguage — Language values
Query Parameters
Pagination & Sorting
integer
default:"1"
The page number to retrieve.
integer
default:"25"
The number of records per page.
string
The property name to sort results by (e.g.
Name, CreatedOn).integer
Sort direction.
0 for ascending, 1 for descending.Filters
integer
Filter by iD of the location whose automated email template this record overrides..
integer
Filter by obsolete legacy language enum; use FileLanguage to select the configured location language instead..
integer
Filter by iD of the configured location language for this template override; together with Name and Business it identifies the saved template..
string
Filter by 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
Filter by required email subject line, up to 254 characters; supported message tokens are replaced before the email is queued..
string
Filter by email body content for this location and language; supported message tokens are replaced before the email is queued..
string
Filter by optional Unlayer design JSON used to continue visual editing; FileContents remains the exported HTML used for delivery..
boolean
Filter by 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
Filter by optional sender display name passed to email delivery, limited to 254 characters..
string
Filter by optional sender email address passed to email delivery, limited to 254 characters..
string
Filter by optional carbon-copy recipient email address passed to email delivery, limited to 254 characters..
string
Filter by optional blind-carbon-copy recipient email address passed to email delivery, limited to 254 characters..
Range Filters
string
Filter records created on or after this date. Format:
YYYY-MM-DDTHH:mm.string
Filter records created on or before this date. Format:
YYYY-MM-DDTHH:mm.string
Filter records updated on or after this date. Format:
YYYY-MM-DDTHH:mm.string
Filter records updated on or before this date. Format:
YYYY-MM-DDTHH:mm.Code Examples
Simple listing
Filtering by Name
Range filters
Response
200
EmailTemplateFile[]
The list of EmailTemplateFile records matching the query. See the Get one EmailTemplateFile endpoint for the full list of properties returned for each record.
integer
Current page number.
integer
Number of records per page.
string
The field used for sorting.
integer
The sort direction (
0 = ascending, 1 = descending).integer
Index of the first item on the current page.
integer
Index of the last item on the current page.
integer
Total number of matching records across all pages.
integer
Total number of pages.
boolean
Whether there is a next page of results.
boolean
Whether there is a previous page of results.
Example Response