Documentation
mizanpage Documentation

Offer the document editor to your customers from your SaaS software. The full journey, from key to PDF.

You publish SaaS software (management, CRM, ERP, business software) and you want your customers to create and customise their own documents. Mizanpage provides the editor and the PDF engine. You do not have to build a document engine. Your technical team no longer touches your customers' templates.

The journey

The journey of an editor sessionSequence diagram between your server, Mizanpage and your user's browser. 1. Your server calls POST /v1/editor-sessions with the organisation key and receives id, url and expires_at. 2. It checks the user's rights. 3. It passes the url to its page, which opens the editor in an iframe or a new tab; the editor talks to your page through postMessage. 4. Your server calls POST /v1/render with the key and the data and receives the PDF of the published template; nothing is kept. 5. It calls DELETE /v1/editor-sessions/{id} and the session closes.Your serverMizanpageYour user'sbrowserPOST /v1/editor-sessionswith the organisation key1{ id, url, expires_at }Checks the user's rights2session urlyour page opens the editor3iframe or new tabpostMessage with your pagePOST /v1/renderkey + document data4the PDFpublished template filled in, nothing iskeptDELETE /v1/editor-sessions/{id}5the session closesThe journey of an editor sessionSequence diagram between your server, Mizanpage and your user's browser. 1. Your server calls POST /v1/editor-sessions with the organisation key and receives id, url and expires_at. 2. It checks the user's rights. 3. It passes the url to its page, which opens the editor in an iframe or a new tab; the editor talks to your page through postMessage. 4. Your server calls POST /v1/render with the key and the data and receives the PDF of the published template; nothing is kept. 5. It calls DELETE /v1/editor-sessions/{id} and the session closes.YourserverMizanpageUser'sbrowserPOST /v1/editor-sessionswith the organisation key1{ id, url, expires_at }Checks theuser'srights2session urlyour page opens the editor3iframe or newtabpostMessagewith your pagePOST /v1/renderkey + document data4the PDFpublished template filled in, nothing iskeptDELETE /v1/editor-sessions/{id}5the session closes
## The steps
  1. One organisation per customer. Each customer of your software has its own Mizanpage workspace, with its templates, brand and files. See Client organisations.
  2. Describe your fields. Your software sends the catalog of each document type. See Describe your fields.
  3. Open the editor. Your server requests a session for the user, then your page opens it in an iframe or a tab. See Editor sessions.
  4. In your colours. The editor takes your colour, font and corner radius. The Mizanpage brand can disappear. See Appearance.
  5. Your data in the editor. Your page offers its records (customers, products) through postMessage. See Data bridge.
  6. Generate. Your server calls POST /v1/render and stores the PDF. See Generate a document.

What Mizanpage keeps

Templates and their resources, catalogs, accounts and keys, and one usage line per document (template, version, key, date). Never the documents or the data that fills them. Your software keeps, sends and archives the PDFs.

Plans

  • Mizanpage Enterprise: your own workspace and the embedded editor, with the Mizanpage brand.
  • Partner: one workspace per customer, shared standard templates, delegated installations and permissions. On quote.

To go live, follow the go-live checklist.

Updated on 1 December 2026