How it works
1
Build a template
Use the Platendoc portal to create a Liquid-powered template. Define variables, layout your document, and publish.
2
Get an API key
In the portal, go to API Keys and create a key with the scopes you need.
3
Trigger generation
Call
POST /v1/generations with your template ID and variable values. The document is rendered asynchronously.4
Download the output
Poll
GET /v1/generations/{id} until status is COMPLETED, then download from outputUrl.Output
Generations produce apdf file rendered via headless Chromium — pixel-perfect layout, matching what you designed in the portal.
Base URL
All API requests go to:Rate limits
Requests are rate-limited per API key. On limit, the API returns429 Too Many Requests with a Retry-After header.
Need help?
- Browse the API Reference
- Contact support at [email protected]