Introduction
Build document templates visually and generate pixel-perfect PDFs from JSON through a single API call.
What is Generatr?
Generatr is a document template builder. You design templates once in a visual rich-text editor, mix in Liquid placeholders for your dynamic data, and then generate clean, paginated PDFs — either from the live preview or through a single REST API call.
A typical workflow looks like this:
1. Design
Author a template (invoice, contract, report…) in the editor, with a header, body and footer.
2. Templatize
Insert {{ variables }}, loops and conditions with Liquid so
the same template adapts to any data.
3. Preview
Paste JSON sample data and watch the paginated preview render live.
4. Generate
Call POST /v1/render/{slug} with your JSON and get back a PDF.
Key concepts
- Organisation — every template, API key and member belongs to an organisation. You can invite teammates on the Team plan.
- Template — a header / body / footer document, a page specification (size, margins), optional translations and sample data.
- API key — a per-organisation secret (
wt_…) used to generate PDFs programmatically. - Liquid — the templating language used to inject data, loop over collections and branch on conditions.
Where to next
- New here? Start with Getting started.
- Want to template your data? Read the Liquid reference.
- Ready to integrate? Jump to the API reference.