Documents from your code
A small HTTP API on your own server: send a template's name and your data, get a PDF. Everything below is tested against a running Oomplo server on every change.
API reference
Every endpoint an API key may call, with parameters, request and response fields and a curl example.
OpenAPI 3.0
The definition of the public API. Import it into Postman, Insomnia, Swagger UI or your API gateway, or generate a client.
Postman collection
Schema, validation, PDF, JSON and DOCX output, a series job and the history, each request with tests.
TypeScript and Python
One file each, no dependencies: render, schema, validate and series jobs with polling.
Power Automate and n8n
A custom connector for Power Automate and a workflow to import into n8n, for teams without developers.
Embedded editor
The template editor in an iframe of your application, driven by messages, with your data and JSON Schema.
Ask, check, generate
GET /api/templates/{id}/schemalists the fields, repeated rows and signers of a template, with an example data file and a JSON Schema to generate types in your system.POST /api/templates/{id}/validatereports every missing value and every value of the wrong kind with its path, all at once and without making a PDF.POST /api/templates/{id}/renderreturns the PDF, or the filled Word document with"format": "docx", or base64 in JSON for low-code tools.
# What does the template need?
curl -s "$OOMPLO_URL/api/templates/invoice-vat/schema" \
-H "Authorization: Bearer $OOMPLO_KEY" | jq .example
# Is my data complete?
curl -s -X POST "$OOMPLO_URL/api/templates/invoice-vat/validate" \
-H "Authorization: Bearer $OOMPLO_KEY" \
-H "Content-Type: application/json" -d @invoice.json
# → {"valid": false, "missing": [{"path": "json.dane1.buyer.nip", …}]}
# Make 1000 PDFs from a CSV, one per row, in a ZIP
curl -s -X POST "$OOMPLO_URL/api/templates/invoice-vat/jobs" \
-H "Authorization: Bearer $OOMPLO_KEY" \
-H "Idempotency-Key: march-2026" \
-H "Content-Type: application/json" \
-d '{"series": {"name": "row", "kind": "csv", "file": "…"}, "zip": true}'
Behaviour you can plan for
Errors that say what
Errors are {"error": "…"} with a status: 400 wrong request, 401 wrong key, 422 the document cannot be made (with the reason), 429 retry after a second.
Test keys
A test key may render the unpublished draft. Every PDF it makes carries a watermark, and none counts against your licence.
Retries are safe
Send an Idempotency-Key with a series job and a retried request returns the same job instead of starting another.
Webhooks
A series job can call your address when it ends, signed with X-Oomplo-Signature (HMAC-SHA256 of the body), so you need not poll.
Headers with facts
Each PDF answer names the template version used, the number of simplifications and the signature fields with their positions.
Command line
The same engine as a CLI: oomplo pdf template.docx --data invoice.json --out invoice.pdf gives the same bytes as the API.