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.
Postman collectionโ
Download the Pritset API Postman collection and import it into Postman to explore the API requests.
After importing the collection, set its token and secret variables to your Pritset credentials. The apiBaseUrl variable defaults to https://api.pritset.com.
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.