Skip to main content

Templates

Templates are .docx files stored in a workspace. Each template can be tagged and rendered by API keys with the right permissions.

Template lifecycle

  1. Upload the .docx file.
  2. Verify placeholders in the template details view.
  3. Tag the template for access control.
  4. Render it via the API.

Permissions

Templates require the RENDER permission to be rendered through the API. Template tags can further restrict which API keys can access a template.

Output formats

The /apply endpoint can return:

  • DOCX (default)
  • PDF (when Accept: application/pdf is set)