TemplateFiles
Create TemplateFile
Create a new TemplateFile record.
POST
Create 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-Create role.Enums
eTemplateFileVisibility — Visibility values
eTemplateFileVisibility — Visibility values
Request Body
Required Fields
Optional Fields
Code Examples
Response
200
Example Response
400
Example Response