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
The Id of the TemplateFile record to retrieve.
Code Examples
Response
200
ID of the business linked to this record.
ID of the template version linked to this record.
The name value for this template file.
The title value for this template file.
Free-text description of this template file.
Current file name of the picture (read-only; upload via the corresponding URL field).
URL of a new file to upload as the picture.
Set to true to remove the current picture file.
The permalink value for this template file.
ID of the file language linked to this record.
Whether published is enabled.
The visibility value for this template file. See
eTemplateFileVisibility enum values: 1 = Public, 2 = Private, 3 = PasswordProtected, 4 = OnlyMembers.The password value for this template file.
Whether is custom is enabled.
Display name of the linked theme (read-only).
The file contents value for this template file.
Unique record identifier.
UUID of the record.
Date and time the record was created (ISO 8601).
Date and time the record was last updated (ISO 8601).
Email of the user who last updated this record.
Whether the record was recently created.
External system identifier.
Example Response
Get one TemplateFile