PDF generation API
without the Puppeteer headaches

Full REST API for generating PDFs from templates, raw HTML or Markdown. Design templates visually, inject data via API, get clean download URLs. No headless browser setup required.

Free tier available. No credit card required.

generate-invoice.sh
# Generate a PDF invoice from a template
$ curl -X POST https://quaterio.com/api/v1/generate/template \
-H "Authorization: Bearer q_your_token" \
-H "Content-Type: application/json" \
-d '{
"templateId": "tmpl_invoice_2024",
"variables": {
"company": "Acme Inc",
"invoice_number": "INV-2026-0042",
"total": "$4,250.00"
}
}'
# Response
{ "downloadUrl": ".../invoice_en_a7f3b2c1.pdf" }

Built for production

Not a wrapper around Puppeteer. A purpose-built PDF engine with the API surface developers actually need.

Three input formats

Generate PDFs from visual templates, raw HTML or Markdown. Pick what fits your stack.

Variable replacement

Template placeholders for text, HTML, Markdown, QR codes, barcodes and form fields. Inject data from any source.

Batch generation

Generate up to 1,000 PDFs in a single API call. Configurable concurrency with per-row success/failure status.

Signed webhooks

Get notified when documents are created, updated or exported. HMAC-signed payloads you can verify.

QR codes and barcodes

Render QR codes with optional logo overlay. Barcodes in CODE128, EAN13, UPC, CODE39 and more.

Clean download URLs

Human-readable filenames like invoice_en_a7f3b2c1.pdf. No ugly blob URLs or signed tokens.

API endpoints

POST

/api/v1/generate/template

Generate PDF from a template with variable replacement

POST

/api/v1/generate/html

Generate PDF from raw HTML

POST

/api/v1/generate/markdown

Generate PDF from Markdown

POST

/api/v1/generate/batch

Generate multiple PDFs from one template

GET

/api/v1/documents

List, create and manage documents

GET

/api/v1/templates

List, create and manage templates

GET

/api/v1/webhooks

List, create and manage webhooks

All endpoints use Bearer token auth (q_ prefix). Available on Business plan and above.

Start generating PDFs

Sign up, create a template in the visual editor, generate your first PDF via API. Takes about five minutes.