Documentation
mizanpage Documentation

Declare the pages allowed to show the editor, and how responsibilities are split between your software and Mizanpage.

Declare the pages that embed the editor

Your server declares the origins of your pages once:

PUT /v1/embed-origins
Authorization: Bearer mzp_…
Content-Type: application/json

{ "origins": ["https://app.your-software.example"] }

After that, every session must name one of these origins, otherwise it is refused (403 origin_not_declared). A partner declares its own on its workspace: they apply to all its organisations.

In an iframe, the editor only shows on the page for which its session was opened. Elsewhere, it shows "The editor cannot be shown here". Sign-in and account pages never show in an iframe.

What Mizanpage guarantees

  • Each request is limited to the workspace of its key or session.
  • Sessions are signed, time-limited, and can be revoked one by one or all at once.
  • No session above designer.
  • No token in a resource address, no token sent to your page.
  • The postMessage bridge is limited to the declared origin, to the window that opened the editor and to the session value.
  • No retention of documents or of the data sent.
  • Mizanpage fetches no address it is given. Only your webhook addresses are called. They use https and are never on a private network.
  • Webhooks are signed with a secret specific to each address.
  • Hosting is in Switzerland.

What your software guarantees

  • The key stays on your server, encrypted, one per organisation.
  • The session is requested on the server side, after checking the user's rights.
  • origin is the exact origin of your page, declared in /v1/embed-origins.
  • Your page checks event.origin and copies session.
  • The session is closed when the user leaves.
  • The PDF received is kept on your side.

Updated on 2 December 2026