For developers
PDFs as a clean REST call
Sync and async rendering, webhooks, direct-to-bucket uploads. No headless Chrome to babysit.
Five lines to a PDF
Render with one HTTP call
// Render a PDF from a template — one HTTP call
const response = await fetch(
'https://api.templateto.com/render/pdf/tpl_abc123',
{
method: 'POST',
headers: {
'X-Api-Key': 'your-api-key',
'Content-Type': 'application/json'
},
body: JSON.stringify({
customerName: 'Acme Corp',
invoiceNumber: 'INV-2026-001',
total: 1240.50
})
}
);
const pdfBlob = await response.blob(); Three APIs, one platform
Pick the entry point that fits your workflow
PDF Generation API
The flagship REST API. Render PDFs from your templates with a single POST. Pixel-stable output, Liquid templating, predictable response times.
Read the docs
HTML to PDF API
Skip the template editor — POST raw HTML and get a PDF back. Great when your app already produces HTML and you just need the conversion step.
Read the docs
Async PDF API
Fire-and-forget rendering for batch jobs and serverless. 202 Accepted comes back instantly; the finished PDF is uploaded straight to your bucket with a webhook callback.
Read the docs
Built for production
The things you'd ask before adopting
- Pixel-stable output
- Same template, same data, same bytes. No surprise rendering drift between versions.
- Async + webhooks
- Long jobs return 202 instantly. We POST your endpoint when the PDF lands in your bucket.
- Direct-to-bucket uploads
- Pass a pre-signed S3, GCS or Azure URL. Your PDFs never round-trip through your servers.
- Liquid templating
- Conditional logic, loops, formatters. The same templating language Shopify and Jekyll use.
- No headless Chrome ops
- We run the renderers, you call the API. No Puppeteer fleet to patch and monitor.
- Predictable pricing
- Per-month plans with clear PDF allowances. From £0.004 per PDF on Pro.