Documentation
mizanpage Documentation

Create or find each customer's workspace by your own reference, issue its keys, deactivate it.

With a partner workspace, each customer of your software becomes a Mizanpage organisation. Its templates, brand identities, images, fonts and attachments belong to it alone.

Create or find an organisation

POST /v1/partner/organisations
Authorization: Bearer mzp_<key of your partner workspace>
Content-Type: application/json

{ "ref": "org-42", "name": "Smith Garage", "issue_key": true, "key_label": "production" }
{ "organisation": { "id": "…", "ref": "org-42", "name": "Smith Garage", "status": "active", "created_at": "…" }, "api_key": "mzp_…", "api_key_id": "…" }
  • ref is your customer identifier. The call answers 201 on creation, then 200: always the same organisation for the same reference. This holds even if two calls arrive at the same moment.
  • No key is issued without "issue_key": true. Store the key encrypted on your server, linked to your reference. Use it for everything that concerns this organisation.

An organisation's keys

Route Effect
GET /v1/partner/organisations/{ref}/keys List the keys
POST /v1/partner/organisations/{ref}/keys Issue a key ("test": true for a test key)
DELETE /v1/partner/organisations/{ref}/keys/{id} Revoke a key, immediately

Deactivate an organisation

PATCH /v1/partner/organisations/{ref} with {"status": "inactive"}, when a customer leaves. The organisation stays readable but no longer edits, publishes or generates anything. Nothing is deleted. {"status": "active"} reactivates it.

From your workspace, without the API

The administrator of your partner workspace finds the Client organisations page under Partner: list, search, creation, renaming, keys and deactivation. It does the same as the routes above.

Billing

Organisations opened by a partner are billed to the partner according to its agreement. Their documents are still counted for statistics.

Only one organisation?

If your company is itself the customer (without a partner workspace), simply create a key in Developers › API keys.

Updated on 2 December 2026