EmailTemplateFiles
Update EmailTemplateFile
Update an existing EmailTemplateFile record.
PUT
Update EmailTemplateFile
Updates an existing EmailTemplateFile record. You must include the
Id of the record to update along with all required fields.
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-Edit role.Enums
eLanguage — Language values
eLanguage — Language values
Request Body
Required Fields
Obsolete legacy language enum; use FileLanguage to select the configured location language instead..
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..
Required email subject line, up to 254 characters; supported message tokens are replaced before the email is queued..
Optional Fields
ID of the configured location language for this template override; together with Name and Business it identifies the saved template..
Email body content for this location and language; supported message tokens are replaced before the email is queued..
Optional Unlayer design JSON used to continue visual editing; FileContents remains the exported HTML used for delivery..
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..
Optional carbon-copy recipient email address passed to email delivery, limited to 254 characters..
Optional blind-carbon-copy recipient email address passed to email delivery, limited to 254 characters..
Code Examples
Response
200
Example Response
400
Example Response