TemplateFiles
Get one TemplateFile
Retrieve a single TemplateFile record by its Id.
GET
Get one TemplateFile
A TemplateFile represents a file asset (HTML, CSS, JavaScript, or image) used in website templates and email templates. Template files control the visual appearance and layout of customer-facing pages.
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 TemplateFile-Read role.Path Parameters
integer
required
The Id of the TemplateFile record to retrieve.
Code Examples
Response
200
integer
ID of the business linked to this record.
integer
ID of the template version linked to this record.
string
The name value for this template file.
string
The title value for this template file.
string
Free-text description of this template file.
string
Current file name of the picture (read-only; upload via the corresponding URL field).
string
URL of a new file to upload as the picture.
boolean
Set to true to remove the current picture file.
string
The permalink value for this template file.
integer
ID of the file language linked to this record.
boolean
Whether published is enabled.
integer
The visibility value for this template file. See
eTemplateFileVisibility enum values: 1 = Public, 2 = Private, 3 = PasswordProtected, 4 = OnlyMembers.string
The password value for this template file.
boolean
Whether is custom is enabled.
string
Display name of the linked theme (read-only).
string
The file contents value for this template file.
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
Get one TemplateFile