API
Use the Pritset API to manage reusable DOCX templates and generate PDFs from them:
- Template management โ create, list, inspect, update, download, validate, and delete templates.
- Template processing โ combine a stored template with JSON data and generate a PDF.
- Errors โ understand error formats, status codes, and retry behavior.
Configure authentication before calling either service.
Authenticationโ
Create an access token and secret on the Profile page, then include them in every API request.
| Header | Value |
|---|---|
Authorization | Your access token. |
X-Secret | Your secret. |
You can now upload and manage a template or process an existing template.