Upload Liquid HTML template file
Templates
Upload Liquid HTML template file
Upload a Liquid HTML file as the template’s content. This replaces any existing attachment.
POST
Upload Liquid HTML template file
Binary Upload
This endpoint uses binary upload (not JSON:API). Send the file contents as the raw request body.Required Headers
| Header | Description | Example |
|---|---|---|
Content-Disposition | Filename of the upload | attachment; filename="dispatch_note.html.liquid" |
Content-Type | MIME type of the file | text/html |
cURL Example
Authorizations
OAuth 2.0 authentication. Use the client credentials or authorization code flow to obtain an access token.
The subdomain/tenant name identifying which tenant's data to access. Required for all API requests.
Path Parameters
The unique identifier of the template
Body
The Liquid HTML template file contents
Response
Attachment uploaded successfully

