Document Templates
Document templates using Liquid syntax for dynamic content generation. Supports CRUD operations with filtering by template type. Includes library access for using predefined templates, and a render endpoint to generate PDFs from templates with provided data (client, partner, manager, practice, proposal details). Templates support design theme integration for consistent branding.
-
GET List DocumentTemplatesLists all DocumentTemplates for the given tenant./tenants/{tenant}/document-templates
-
POST Create DocumentTemplateCreates a new DocumentTemplate for the specified tenant./tenants/{tenant}/document-templates
-
GET Get DocumentTemplateGets a DocumentTemplate for the specified tenant./tenants/{tenant}/document-templates/{code}
-
PUT Update DocumentTemplateUpdates a DocumentTemplate for the specified tenant./tenants/{tenant}/document-templates/{code}
-
DELETE Delete DocumentTemplateDeletes a DocumentTemplate for the specified tenant./tenants/{tenant}/document-templates/{code}
-
GET LibraryList all DocumentTemplates available in the library as templates. Use optional 'search' query parameter to filter by Code, Name, or Description./tenants/{tenant}/document-templates/library
-
GET Library ItemGet details of a specific DocumentTemplate template from the library/tenants/{tenant}/document-templates/library/{code}
-
POST Render DocumentTemplate as PDFRenders a document template with the provided data to PDF format. The template receives the TemplateVariables data structure from the request. All pr.../tenants/{tenant}/document-templates/{code}/render