Skip to content
Import the API into n8n, Make, Pipedream or Postman The MZPanel OpenAPI 3.1 document, generated from the live operation registry and the job-kind schemas. Which file to import (the whole API or one area), and how to set up Bearer auth in Postman, n8n, Make, Pipedream and code generators.

Import the API into n8n, Make, Pipedream or Postman

MZPanel publishes an OpenAPI 3.1 description of its whole management API. It is generated from the same operation registry the API and the MCP server use, so every operation a token can call is in it: servers, sites, Docker apps and stacks, DNS/TLS, backups, mail, uptime, files, projects, network and more. It also has the exact body schema of every on-box job kind. It is on every plan (on Free, writes are a 30-day trial, then read-only).

WhatURLSize
Whole API (live)https://api.mzpanel.com/v1/openapi.jsonabout 700 KB
One area (live)https://api.mzpanel.com/v1/openapi.json?tag=dns7–400 KB
Whole API (static copy)https://docs.mzpanel.com/openapi/mzpanel.jsonsame content, indented
One area (static copy)https://docs.mzpanel.com/openapi/<tag>.jsonsame content, indented

Tags (areas): servers, sites, apps, deployments, projects, connections, dns, backups, jobs, mail, files, uptime, notifications, network, team, account, webhooks, wordpress, ai and rest (the synchronous /v1/api/* shortcuts and discovery). An unknown ?tag= answers 404 unknown_tag with the list in error.details.tags. Fetching the document needs no token.

Which one to import:

  • Postman, Insomnia, Bruno, code generators: the whole API is fine.
  • n8n, Make, Pipedream and other low-code tools: import or read one area at a time, the one your workflow needs (for example dns for DNS records, uptime for monitors, apps for deploys). Smaller files load faster and keep the operation list short.
  • On-box actions (create a site, restart a service, back up a stack, install PHP …) all go through one operation, POST /v1/servers/{id}/jobs, in the jobs area. Its body is a oneOf over every job kind, picked by the type field (site.create, app.create, stack.deploy, db.create, …). Each kind’s schema is components.schemas["job.<kind>"].
  • operationId = the operation id (dns.records_create); x-mz-mcp-tool = the matching MCP tool (dns_records_create).
  • x-mz-level: the minimum token level (read < deploy < operate < full).
  • x-mz-scope: the opt-in scope the call needs, if any (sites:delete, data:delete, …). The level never implies a scope.
  • x-mz-min-tier: the lowest plan, if the operation is gated (pro).
  • Errors share one envelope, components.schemas.Error: {"error": {"code", "message", "details"?}}. 429 carries Retry-After (seconds).

See Tokens, levels & scopes for what to tick when you mint the token.

  1. Import → Link → paste https://api.mzpanel.com/v1/openapi.json (or one area).
  2. On the new collection, open Authorization → type Bearer Token → paste your mzmcp_… token. Every request inherits it.
  3. The base URL is https://api.mzpanel.com. Path parameters such as {id} are server UUIDs; get them from GET /v1/servers.
  1. Credentials → New → Header Auth: name Authorization, value Bearer mzmcp_….
  2. Add an HTTP Request node with that credential. Take the method, path and body fields from the area document (for example dns.json → POST /v1/dns/records). Set Body Content Type to JSON.
  3. For an on-box job, POST https://api.mzpanel.com/v1/servers/{id}/jobs with {"type": "<kind>", ...fields}, then poll GET /v1/jobs/{job_id} with a Wait node (2–5 s) until status is completed, failed, timeout or cancelled.
  4. For an n8n AI Agent, connect the MCP server instead of single endpoints: see Connect your AI client (MCP).
  1. Add an HTTP → Make a request module.
  2. URL https://api.mzpanel.com/<path from the area document>, method from the document, header Authorization: Bearer mzmcp_…, body type Raw with content type JSON.
  3. Use the operation’s request body schema as the template for the JSON body. Jobs are async: loop on GET /v1/jobs/{job_id} with a Sleep module.
  1. Add an HTTP / Webhook → Send any HTTP request step (or a Node.js code step).
  2. Add the header Authorization: Bearer {{process.env.MZPANEL_TOKEN}} and store the token as an environment variable.
  3. Copy the path and body from the area document. When you ask Pipedream’s AI code generation to write the step, give it the area document URL so it uses the exact field names.

Any OpenAPI 3.1 generator works on the whole document (for example openapi-generator-cli generate -i https://api.mzpanel.com/v1/openapi.json -g python). Request bodies are strict: an unknown key is rejected with 400 and a did-you-mean hint in error.details, so keep the generated models in sync by regenerating them from the live URL.

  • Response bodies are documented as plain JSON (no per-operation response schema yet); read the operation description for the shape. GET /v1/api/operations is the live discovery document and marks what your token may call.
  • When an operation documents its body only in prose, the document has a generic object with a pointer to the description.
  • Rate limits are per token per minute: Free 60, Plus 120, Pro 300, Max 600, shared with MCP.