Upload Template with Optional Default Values
Programmatically upload a DOCX or PPTX template to TurboDocx via the API, with named variables, placeholders, and default values. Includes a full multipart example request, response, and error handling.
Extract Template Placeholders and Generate Preview
Upload a DOCX or PPTX file to extract its {placeholder} variables and fonts, and optionally render a PDF preview, before creating the template.
Get Templates and Folders
List all templates and folders in your TurboDocx workspace via the API. Returns template IDs, names, folders, and tags so you can browse or build a template picker. Includes example request, response, and pagination.
Get Template by ID
Fetch a single template by ID: its metadata, tags, and merged variables (template, folder, and global). Includes example request, response, and error handling.
Edit Template Metadata
Rename a template, change its description or folder, or replace its tags with a single PATCH call. Includes an example request, response, and error handling.
Delete Template
Remove a template from your TurboDocx workspace with a single DELETE API call. Documents already generated from it are not affected. Includes a real example request, response, and error handling.