mizanpage

PDF generation API

Your software sends the data as JSON and receives the PDF in the response. The layout lives in a visual editor where your team changes templates without touching the code.

Start free trial

The free trial lasts 14 days. No credit card is required.

One call, one PDF
curl -X POST https://api.mizanpage.com/v1/render \
  -H "Authorization: Bearer mzp_…" \
  -H "Content-Type: application/json" \
  -d '{"template": "facture", "format": "pdf",
       "data": {"values": {"facture.numero": "F-2026-0042", "client.nom": "Garage Ostrevel"}}}' \
  -o facture.pdf

How it works

  • A template you design, not code

    The template is built from blocks in the editor: text, multi-page tables, images, QR codes and charts. There is no HTML or CSS to maintain.

  • One call, one PDF

    POST /v1/render receives the template and the values of its fields. The response is the PDF, attachments included.

  • Only the published version is used

    The API never uses a draft. You can edit a template safely while your software keeps sending documents.

  • Large volumes in the background

    POST /v1/renders prepares the PDF in the background and notifies your server by webhook when it is ready.

For developers

  • Official SDKs

    JavaScript, PHP, Python, Java, C# and Ruby. The Zapier, Make and n8n connectors cover no-code tools.

  • No duplicates

    With the Idempotency-Key header, a call replayed within 24 hours is only counted once.

  • Signed webhooks

    Every delivery is signed with HMAC-SHA256 in the Standard Webhooks format.

  • Test keys

    A test key generates free PDFs that carry the Mizanpage logo, so you can build without using your plan.

Your documents stay with you

  • No PDF kept

    The PDF leaves in the response and Mizanpage keeps no copy. The values you send are not stored.

  • Hosted in Switzerland

    The API and the database run at Infomaniak in Switzerland.

  • Accessible PDFs

    Every PDF generated from a template is tagged to the PDF/UA-1 standard.

  • Optional Factur-X

    An invoice can become a Factur-X e-invoice with the EN 16931 profile.

Frequently asked questions

Generate your first PDF through the API

The free trial lasts 14 days. No credit card is required.

Start free trial