CreateDocumentTemplateRequest
Request to create a new document template that can generate documents using Liquid syntax.
Templates support tokens for dynamic data replacement and can include reusable content blocks.
Properties
| Name | Type | Description |
|---|---|---|
| name* | string | Display name for the template (e.g., "Standard Engagement Letter", "Monthly Report") |
Display name for the template (e.g., "Standard Engagement Letter", "Monthly Report") | ||
| type* | enum | EngagementLetter Proposal ProfessionalClearanceLetter |
EngagementLetter Proposal ProfessionalClearanceLetter | ||
| bodyHtml* | string | Template body in HTML with Liquid syntax tokens.
|
Template body in HTML with Liquid syntax tokens.
| ||
| description | string | Optional description explaining the template's purpose and usage |
Optional description explaining the template's purpose and usage | ||
| isActive | boolean | Whether this template is available for use. Set to false to disable without deleting. |
Whether this template is available for use. Set to false to disable without deleting. | ||
| defaultDesignThemeCode | string | Code of the default design theme to apply when rendering this template. |
Code of the default design theme to apply when rendering this template. | ||
JSON Example
{
"name": "string",
"type": "EngagementLetter",
"bodyHtml": "string",
"description": "string",
"isActive": false
}