API referenceSections

API reference

617 operations in 34 sections and 328 schemas, generated from the panel's OpenAPI contract. Descriptions in the reference are in English.

Everything the panel's web interface and its command-line tool do goes through this HTTP API, so anything you can do in the panel you can script. The reference below is generated from the API contract (OpenAPI 3.1) that ships with the panel.

Base URL and versioning

Requests go to your own panel:

https://<your-panel-host>:8443/api/v1/...

8443 is the panel's default port (the LISTEN setting, 0.0.0.0:8443 unless you changed it at install). All routes are under /api/v1; there is no other API version. The contract's own version is shown at the top of this reference.

The contract is published two ways:

Use either with any OpenAPI 3.1 tool to generate a client.

Authentication

There are two ways to authenticate.

The web interface signs in with POST /api/v1/auth/login (email and password). The answer sets the session cookie __Host-panel_session and returns a csrf_token. If the user's role requires two-step verification, the session must finish it (POST /api/v1/auth/mfa/verify or a passkey) before it can use resource routes; until then they answer 403 MFA_REQUIRED.

Sessions are meant for browsers and interactive tools. For scripts and integrations, use an API key.

API keys

Send the key as a bearer token:

Authorization: Bearer wp_...
  • Creating a key. A signed-in member with the apikey.manage permission creates keys in the panel or with POST /api/v1/tenants/{tid}/api-keys (name, permissions, ttl_hours from 1 to 8760). The answer contains the token once; the panel stores only its hash, so copy it then.
  • One tenant. A key belongs to the tenant it was made in. Used on another tenant's path, it gets 404 TENANT_NOT_FOUND.
  • Permissions are intersected. A key lists the permissions it may use, and you cannot give it more than you have (403 ROLE_EXCEEDS_YOURS). On every request the key's permissions are intersected with its owner's current role, so a key never does more than its owner can do now. When the owner is disabled, their keys stop working.
  • Lifetime. Keys expire after the lifetime you chose (at most 365 days) and can be revoked at any time with DELETE /api/v1/tenants/{tid}/api-keys/{id}. An expired, revoked or unknown key answers 401 API_KEY_INVALID.
  • Two-step verification. If the owner's role requires two-step verification, only keys created from a session that passed it work, and only while the owner still has a second factor. Other keys answer 403 API_KEY_MFA_REQUIRED.
  • Session-only routes. Account management is never available to API keys: API keys themselves, sessions, impersonation and "log in as customer", two-step verification, password, MFA and admin-access policies, passkeys, SSO providers, disaster recovery, and the panel's address, certificate, Let's Encrypt and update settings. These need a signed-in session.

The contract marks routes that explicitly accept an API key with the apiKey scheme; resource routes outside the session-only list above accept a key too.

CSRF protection

Requests authenticated by the session cookie with any method other than GET or HEAD must send the session's CSRF token:

X-CSRF-Token: <csrf_token>

The token comes from the login answer or from GET /api/v1/session. A missing or wrong token answers 403 CSRF_INVALID.

API-key requests do not use the CSRF token: browsers never attach an Authorization header by themselves, so there is nothing to forge.

Requests

Request bodies are JSON: send Content-Type: application/json. Fields the operation does not define are rejected, as is a body that is not valid JSON for the operation (400 INVALID_BODY). JSON bodies are limited to 1 MiB; file uploads have their own routes.

Errors

Errors are JSON with the same five fields everywhere:

{
  "code": "PERMISSION_DENIED",
  "message": "You do not have permission for this action.",
  "details_redacted": false,
  "correlation_id": "01J...",
  "retryable": false
}
Field Meaning
code Stable, machine-readable error code. Program against this.
message A sentence for people. It may change between releases.
details_redacted true when the panel hid the details of an internal error.
correlation_id The request's ID; every response also carries it in the X-Correlation-ID header. Quote it when you ask for support.
retryable true when the same request may succeed later (always true for 429).

The status code follows the kind of error:

Status When
400 Invalid input
401 Not signed in, or an invalid API key
403 Not allowed (permission, CSRF, two-step verification, IP ban)
404 Not found, including tenants you are not a member of
409 Conflict with the current state
412 / 428 If-Match revision mismatch / If-Match required
422 Idempotency-Key reused for a different request
429 Rate limited; see Retry-After
500 Internal error: code is INTERNAL, details_redacted is true

When an error carries a wait time, the response has a Retry-After header in seconds.

Long-running operations

Some changes wait for a job on a managed server.

  • Operations (operation). Routes such as mail, DNS zones and DNSSEC, FTP and Web Deploy settings, hardening, tuning, WAF, protected folders, file copy/extract/compress, permissions, WordPress discovery, malware actions, service control, backup deletes, quota apply, analytics, usage and permanent customer delete answer normally when they finish within 20 seconds. Otherwise they answer 202 with {"operation": {"id", "url", "state": "running"}} and a Location header, and the work continues. Poll GET /api/v1/tenants/{tid}/operations/{oid}: when state is done, status and body are the answer the route would have given. Only the caller who sent the request can read the operation. It is kept for 30 minutes after it finishes, and not across a panel restart; if it is gone, read the resource again.
  • Pending jobs (pending_job). Site settings changes and other queued work answer 202 with a body that includes pending_job (id, kind, url) and a Location header. Follow it with GET /api/v1/tenants/{tid}/jobs/{id} (needs job.read) until it is succeeded or failed.

Operations that can answer 202 are marked in this reference. The panel's CLI and web interface follow both by themselves.

Pagination

Most lists answer {"items": [...], "next_cursor": "..."}; each operation shows its exact shape. An empty next_cursor means there is nothing more.

There is no single paging scheme across the API. Most lists are short and come back whole, with next_cursor always empty. These lists page with limit (1 to 200) and cursor (the previous page's next_cursor):

List Without limit
GET /api/v1/tenants/{tid}/sites the whole list
GET /api/v1/tenants/{tid}/customers the whole list
GET /api/v1/tenants/{tid}/projects the first 50
GET /api/v1/tenants/{tid}/provisioning/accounts, .../packages, .../resellers the first 50
GET /api/v1/tenants/{tid}/jobs, GET /api/v1/tenants/{tid}/jobs/{id}/events the first 50
GET /api/v1/tenants/{tid}/audit-events the first 50
GET /api/v1/tenants/{tid}/sites/{id}/waf/events see the operation

A limit that is not a number from 1 up counts as 50, and values over 200 count as 200. On the sites list, a cursor the list did not give answers 400 INVALID_CURSOR; start again from the first page. Job and audit histories use a numeric position as their cursor. Treat every cursor as opaque and pass back exactly what you received.

Rate limits

  • Provisioning API (/api/v1/tenants/{tid}/provisioning/...): each caller (each API key, or each signed-in user) has a bucket of 120 requests that refills at 10 per second. Responses carry X-RateLimit-Limit: 120; past the limit the answer is 429 RATE_LIMITED with Retry-After.
  • Sign-in and verification: failed attempts are counted over 15 minutes. Sign-in locks after 10 failures for one email from one address, 30 from one address, or 100 for one email; two-step codes after 10 failures per user. A locked attempt answers 429 TOO_MANY_ATTEMPTS with Retry-After. Addresses that keep failing to sign in can be banned (403 IP_BANNED).
  • Other limits: the AI assistant (429 ASSISTANT_RATE_LIMITED, retry after a minute), concurrent file uploads (429 UPLOADS_BUSY), and uptime checks run on demand (429 UPTIME_CHECK_TOO_SOON).

Other routes have no per-request rate limit. Always honour 429 and Retry-After.

Retries and concurrency

  • Idempotency. Provisioning routes accept an Idempotency-Key header. Repeating the same request with the same key within 24 hours replays the first answer (with Idempotent-Replayed: true); the same key with a different request answers 422 IDEMPOTENCY_KEY_REUSED, and while the first request is still running a repeat answers 409 IDEMPOTENCY_IN_PROGRESS (retryable).
  • Revisions. Routes that take If-Match return the current revision in ETag; send it back in If-Match. A stale value answers 412 REVISION_MISMATCH, and a missing one 428 IF_MATCH_REQUIRED.

Sections

Setup, health and recovery 9

POST/api/v1/bootstrapCreate the first admin with the one-time setup token
POST/api/v1/local/enrollment-tokensA one-time enrollment token for the panel's own machine, for `zopanel-setup install -roles agent` there (ADR 0114). Same rules as recovery-links: loopback, no proxy headers, the X-Zopanel-Recovery secret; anything else is 404. Made for the provider's first administrator; 409 PANEL_NOT_SET_UP before the first admin exists
POST/api/v1/local/ip-unbanLift IP bans for `zopanel-setup unban` (ADR 0066). Same rules as recovery-links: loopback, no proxy headers, the X-Zopanel-Recovery secret; anything else is 404
POST/api/v1/local/recovery-linksMake a recovery link (ADR 0057). Only from loopback, without proxy headers, and with the X-Zopanel-Recovery secret the service writes to its Administrators-only data folder; anything else is 404
GET/api/v1/openapi.yamlThis API contract, read-only (ADR 0055)
GET/api/v1/releaseThe version and channel the panel runs; null in a development build
POST/api/v1/setup-hintCheck the one-time setup token and get the email given to the installer (ADR 0057); only for the token's holder and only until the first admin exists. Wrong tokens count against the setup rate limit
GET/api/v1/setup-statusWhether the first administrator has been created
GET/healthz

Authentication and sessions 25

POST/api/v1/auth/login
GET/api/v1/auth/login-link/{token}A page that asks to continue; it does not use the link, so link previews cannot spend it (ADR 0055)
POST/api/v1/auth/login-link/{token}Use a one-time sign-in link once (ADR 0055)
POST/api/v1/auth/logout
POST/api/v1/auth/mfa/confirmTurn MFA on; returns recovery codes once and rotates the session cookie
POST/api/v1/auth/mfa/disableTurn the authenticator app off (ADR 0054); needs the password and a current or recovery code. Refused with MFA_REQUIRED_BY_POLICY when the provider requires two-step verification and the user has no passkey
POST/api/v1/auth/mfa/enrollRe-check the password and start TOTP enrollment
POST/api/v1/auth/mfa/verifyComplete sign-in with a TOTP or recovery code; rotates the session cookie
GET/api/v1/auth/oidc/callback
GET/api/v1/auth/oidc/{id}/start
POST/api/v1/auth/passkey/login/beginOptions for a sign-in with no password
POST/api/v1/auth/passkey/login/finishFinish a passkey sign-in; cookie set
POST/api/v1/auth/passkey/register/beginRe-check the password and start registration
POST/api/v1/auth/passkey/register/finishStore the new passkey
POST/api/v1/auth/passkey/verify/beginOptions for using a passkey after a password
POST/api/v1/auth/passkey/verify/finishComplete MFA with a passkey; rotates the session cookie
POST/api/v1/auth/passwordChange your own password (ADR 0057). The current password is needed except in a session from a recovery link; every other session ends and a new one is set
POST/api/v1/auth/recoverySign in with a one-time link from `zopanel-setup admin-login` (ADR 0057); two-step verification still applies, and the session must set a new password
GET/api/v1/me/permissions
GET/api/v1/passkeys
DELETE/api/v1/passkeys/{id}
GET/api/v1/password-policyThe password rules of every scope, for forms and the password generator; any signed-in user
GET/api/v1/session
GET/api/v1/sessions
DELETE/api/v1/sessions/{id}

API keys 3

Tenants, members and roles 13

POST/api/v1/invitations/accept
GET/api/v1/tenants
POST/api/v1/tenants
GET/api/v1/tenants/{tid}/child-tenantsPlain tenants directly below this one, made with POST /tenants rather than as a customer or reseller, with what each still holds
DELETE/api/v1/tenants/{tid}/child-tenants/{cid}Delete an empty plain child tenant for good (ADR 0130 rules; R7 open issue 11)
GET/api/v1/tenants/{tid}/detached-usersUsers who belong to no account, for the provider's administrators (ADR 0130)
POST/api/v1/tenants/{tid}/impersonationsAct as a tenant member for a limited time; POST /auth/logout ends it
POST/api/v1/tenants/{tid}/invitations
GET/api/v1/tenants/{tid}/members
DELETE/api/v1/tenants/{tid}/members/{uid}
POST/api/v1/tenants/{tid}/members/{uid}/disableDisable an account everywhere; root tenant only
GET/api/v1/tenants/{tid}/rolesRoles the caller could grant
DELETE/api/v1/tenants/{tid}/users/{uid}Delete a user for good: sessions, API keys, MFA, passkeys, every membership (ADR 0130)

Account security and SSO 15

GET/api/v1/tenants/{tid}/oidc-providers
POST/api/v1/tenants/{tid}/oidc-providers
DELETE/api/v1/tenants/{tid}/oidc-providers/{id}
GET/api/v1/tenants/{tid}/securitySecurity checks of the servers and sites the caller may see, with a score (ADR 0022)
GET/api/v1/tenants/{tid}/security/admin-accessAddresses provider administrators may work from (ADR 0065); provider administrators on the root tenant only
PUT/api/v1/tenants/{tid}/security/admin-accessReplace the list. One that leaves out the caller's own address is refused (409 ADMIN_ACCESS_LOCKOUT) unless confirm_lockout; audited
GET/api/v1/tenants/{tid}/security/ip-bansAutomatic IP bans (ADR 0066): current and recent bans, never-ban list, policy, and each server's firewall and log readers; provider administrators on the root tenant only
PUT/api/v1/tenants/{tid}/security/ip-bans/allowReplace the addresses never banned; bans they cover are lifted; audited
GET/api/v1/tenants/{tid}/security/ip-bans/eventsFailed sign-ins, newest first, kept seven days
PUT/api/v1/tenants/{tid}/security/ip-bans/policySet when each source bans; audited
DELETE/api/v1/tenants/{tid}/security/ip-bans/{ip}Lift a ban now and forget the address's failures; audited
GET/api/v1/tenants/{tid}/security/mfa-policyWhether admins and resellers must use two-step verification (ADR 0054); provider administrators on the root tenant only
PUT/api/v1/tenants/{tid}/security/mfa-policyRequire or relax two-step verification for admins and resellers; audited
GET/api/v1/tenants/{tid}/security/password-policyPassword and session policy (ADR 0112); provider administrators on the root tenant only
PUT/api/v1/tenants/{tid}/security/password-policyChange the password and session policy; audited with before and after

Customers 22

GET/api/v1/tenants/{tid}/account-kitHow far this account's provisioning kit got (ADR 0059)
POST/api/v1/tenants/{tid}/account-kit/retryTry every waiting or failed step again now
POST/api/v1/tenants/{tid}/account-kit/secrets/{name}Show a password the kit made, once; it is removed afterwards
GET/api/v1/tenants/{tid}/account-kit/templatesThe welcome email templates of this seller, vi and en
PUT/api/v1/tenants/{tid}/account-kit/templates/{lang}Save a welcome template after trying it; empty subject and body restore the default
GET/api/v1/tenants/{tid}/customersCustomers with their subscription, limits and usage, oldest first; all of them, or a page when limit is given (ADR 0189)
POST/api/v1/tenants/{tid}/customersCreate a customer tenant on a plan and one of this tenant's servers
DELETE/api/v1/tenants/{tid}/customers/{cid} 202End a customer of this seller, made in the panel or by billing: suspended, websites, databases, mail, caches and DNS zones removed by jobs in the background, backups kept the days asked for (ADR 0104, 0131)
GET/api/v1/tenants/{tid}/customers/{cid}/endingHow far a customer's end got (ADR 0131)
POST/api/v1/tenants/{tid}/customers/{cid}/login-asLog in as the customer's owner, from its provider or reseller, with a reason, for 5 to 60 minutes (ADR 0086)
DELETE/api/v1/tenants/{tid}/customers/{cid}/permanent 202Delete an ended customer of this seller for good (ADR 0130)
GET/api/v1/tenants/{tid}/customers/{cid}/quotaA customer's standing against its limits, for its seller
POST/api/v1/tenants/{tid}/customers/{cid}/quota/applyApply the customer's disk quota on its server now (FSRM, or the panel when FSRM cannot be used) and judge it
PUT/api/v1/tenants/{tid}/customers/{cid}/subscriptionApply a subscription change (plan, revision, state, expiry, overrides)
POST/api/v1/tenants/{tid}/customers/{cid}/subscription/previewShow a subscription change and the limits the customer would be past, without applying it
POST/api/v1/tenants/{tid}/customers/{cid}/suspendSuspend a customer of this seller; its sites show the suspension page (ADR 0071, 0104)
POST/api/v1/tenants/{tid}/customers/{cid}/transferMove a customer to another reseller or to the provider, inside the new owner's allocation (ADR 0087)
POST/api/v1/tenants/{tid}/customers/{cid}/unsuspendResume a customer of this seller (ADR 0104)
GET/api/v1/tenants/{tid}/ended-customersThe seller's ended customers, with what each still has (ADR 0130)
GET/api/v1/tenants/{tid}/quotaThis account's standing against its disk and bandwidth limits (ADR 0070)
POST/api/v1/tenants/{tid}/quota/checkJudge every customer of this seller against its limits now (notices, suspension, resume)
GET/api/v1/tenants/{tid}/transfer-targetsThe provider and its active resellers, with their plans, a customer can be moved to (ADR 0087)

Plans and subscriptions 7

GET/api/v1/tenants/{tid}/plansHosting plans of this provider or reseller (ADR 0028)
POST/api/v1/tenants/{tid}/plansCreate a plan at revision 1
PUT/api/v1/tenants/{tid}/plans/{pid}New limits become the plan's next revision; customers keep theirs until applied
DELETE/api/v1/tenants/{tid}/plans/{pid}Archive the plan so it is not given to new customers
PUT/api/v1/tenants/{tid}/plans/{pid}/onboardingWhat the plan sets up for accounts made from now on (ADR 0059); not a revision
DELETE/api/v1/tenants/{tid}/plans/{pid}/permanentDelete an archived plan for good, once no subscription names it (ADR 0130)
GET/api/v1/tenants/{tid}/subscriptionThis tenant's own plan limits, usage and server

Provisioning (billing integration) 31

GET/api/v1/tenants/{tid}/provisioning/accountsList accounts, a page at a time
GET/api/v1/tenants/{tid}/provisioning/accounts/{ref}An account by its reference (ADR 0051)
PUT/api/v1/tenants/{tid}/provisioning/accounts/{ref}Make the account for this reference, or update it; a retry makes nothing new
PATCH/api/v1/tenants/{tid}/provisioning/accounts/{ref}Change the name, owner email or expiry
DELETE/api/v1/tenants/{tid}/provisioning/accounts/{ref} 202Terminate the account; its websites, databases, mail, caches and DNS zones are removed the usual way (ADR 0104), in the background (ADR 0131)
POST/api/v1/tenants/{tid}/provisioning/accounts/{ref}/login-linkA one-time sign-in link for the account owner (60 seconds, single use)
PUT/api/v1/tenants/{tid}/provisioning/accounts/{ref}/passwordReplace the owner password; the owner sessions end
DELETE/api/v1/tenants/{tid}/provisioning/accounts/{ref}/permanent 202Delete a terminated account for good (ADR 0130)
PUT/api/v1/tenants/{tid}/provisioning/accounts/{ref}/planMove the account to a package or plan (its current revision)
POST/api/v1/tenants/{tid}/provisioning/accounts/{ref}/suspendSuspend with a reason; its sites stop and nothing is removed
POST/api/v1/tenants/{tid}/provisioning/accounts/{ref}/unsuspendStart the account again, whatever suspended it
GET/api/v1/tenants/{tid}/provisioning/accounts/{ref}/usageWhat the account uses this month
GET/api/v1/tenants/{tid}/provisioning/accounts/{ref}/usersThe account's people: its owner and the users added to it (ADR 0121)
POST/api/v1/tenants/{tid}/provisioning/accounts/{ref}/usersAdd a user to the account with a role, or invite one (ADR 0121)
DELETE/api/v1/tenants/{tid}/provisioning/accounts/{ref}/users/{uid}Take a user out of the account (ADR 0121)
PUT/api/v1/tenants/{tid}/provisioning/accounts/{ref}/users/{uid}/passwordReplace an added user's password; their sessions end (ADR 0121)
GET/api/v1/tenants/{tid}/provisioning/packagesList packages, archived included
GET/api/v1/tenants/{tid}/provisioning/packages/{ref}A package by its reference
PUT/api/v1/tenants/{tid}/provisioning/packages/{ref}Make the package, or change its name and limits; a retry changes nothing
DELETE/api/v1/tenants/{tid}/provisioning/packages/{ref}Archive the package; refused while accounts use it unless force=true; never removes accounts
DELETE/api/v1/tenants/{tid}/provisioning/packages/{ref}/permanentDelete an archived package and its plan for good, once no account has it (ADR 0130)
GET/api/v1/tenants/{tid}/provisioning/resellersList resellers (provider only)
GET/api/v1/tenants/{tid}/provisioning/resellers/{ref}A reseller with what its customers use together
PUT/api/v1/tenants/{tid}/provisioning/resellers/{ref}Make the reseller with its owner, or change its name and allocation
DELETE/api/v1/tenants/{tid}/provisioning/resellers/{ref} 202Terminate the reseller; refused while it has accounts unless cascade=true. Runs in the background (ADR 0131)
POST/api/v1/tenants/{tid}/provisioning/resellers/{ref}/login-linkA one-time sign-in link for the reseller owner
PUT/api/v1/tenants/{tid}/provisioning/resellers/{ref}/passwordReplace the reseller owner password
DELETE/api/v1/tenants/{tid}/provisioning/resellers/{ref}/permanent 202Delete an ended reseller for good; with cascade=true its ended customers go first (ADR 0130)
POST/api/v1/tenants/{tid}/provisioning/resellers/{ref}/suspendSuspend the reseller and its running customers
POST/api/v1/tenants/{tid}/provisioning/resellers/{ref}/unsuspendLift the reseller suspension and only the customer suspensions it caused
GET/api/v1/tenants/{tid}/provisioning/serversServers the caller may place a customer on, with their load

Sites 31

GET/api/v1/tenants/{tid}/deleted-sitesDeleted websites still kept (ADR 0127)
DELETE/api/v1/tenants/{tid}/deleted-sites/{id} 202Remove a deleted website for good now (server.manage), typing its name
POST/api/v1/tenants/{tid}/deleted-sites/{id}/restore 202Bring a deleted website back with its names and settings (ADR 0127)
GET/api/v1/tenants/{tid}/projects
POST/api/v1/tenants/{tid}/projects
GET/api/v1/tenants/{tid}/projects/{pid}
PATCH/api/v1/tenants/{tid}/projects/{pid}
DELETE/api/v1/tenants/{tid}/projects/{pid}
GET/api/v1/tenants/{tid}/site-movesSite moves between servers (ADR 0097)
GET/api/v1/tenants/{tid}/site-moves/{mid}One move
POST/api/v1/tenants/{tid}/site-moves/{mid}/actions/{action} 202switch (final sync, then serve from the new server), finalize (remove from the old one), rollback, retry. MOVE_STATE when not possible now
GET/api/v1/tenants/{tid}/site-retentionHow many days the provider keeps deleted websites (server.manage)
PUT/api/v1/tenants/{tid}/site-retentionChange it (server.manage); websites already deleted keep their date
GET/api/v1/tenants/{tid}/sitesThe tenant's sites by hostname; all of them, or a page when limit is given (ADR 0189)
POST/api/v1/tenants/{tid}/sitesQueue a new site; a hostname exists once per server
GET/api/v1/tenants/{tid}/sites/{id}One site as the list shows it; the site page follows it without the whole list (R29)
DELETE/api/v1/tenants/{tid}/sites/{id}Remove the site from IIS; its folder and logs are kept for the provider's retention and the site can be restored until then (ADR 0127)
GET/api/v1/tenants/{tid}/sites/{id}/aliasesThe site's other names (ADR 0031)
POST/api/v1/tenants/{tid}/sites/{id}/aliasesAdd a name to prove; IIS answers to it only once proven
DELETE/api/v1/tenants/{tid}/sites/{id}/aliases/{host}Stop answering to the name and forget it
POST/api/v1/tenants/{tid}/sites/{id}/aliases/{host}/verifyCheck the alias's TXT record, or with a reason record the provider's word; then IIS answers to it
GET/api/v1/tenants/{tid}/sites/{id}/analyticsVisits summarized from the site's IIS logs on its server (ADR 0023)
GET/api/v1/tenants/{tid}/sites/{id}/limitsThe site's caps and where they come from (ADR 0091)
PUT/api/v1/tenants/{tid}/sites/{id}/limits 202Cap the CPU share and memory of the site's pool (ADR 0036)
GET/api/v1/tenants/{tid}/sites/{id}/logsA redacted page of a site's IIS log; whoever may read the site's files (ADR 0077)
POST/api/v1/tenants/{tid}/sites/{id}/move 202Move a site, with its MariaDB databases, to another server; it serves from the old one until the switch. Needs site.write, database.write and server.manage. MOVE_* codes, SERVER_MAINTENANCE, PLACEMENT_SERVER
GET/api/v1/tenants/{tid}/sites/{id}/resource-usageThe site's caps, minutes at them and automatic actions, last 24 hours and 7 days (ADR 0126)
GET/api/v1/tenants/{tid}/sites/{id}/settings-optionsWhat the IIS, PHP and pool settings offer for this site and user (ADR 0061, 0062)
POST/api/v1/tenants/{tid}/sites/{id}/verifyCheck the site's TXT record to prove the hostname belongs to this tenant
POST/api/v1/tenants/{tid}/sites/{id}/verify-overrideRecord ownership without DNS; needs a separate permission and a reason
POST/api/v1/tenants/{tid}/sourcesTake a zip, or download one from an https link, and tell what it holds (ADR 0025)

Site runtimes and application pools 45

GET/api/v1/tenants/{tid}/sites/{id}/appsJoomla, Drupal, PrestaShop and OpenCart for this site, and the one installed (ADR 0178)
POST/api/v1/tenants/{tid}/sites/{id}/apps 202Install an application into an empty PHP site with its own database; the admin password is shown once
DELETE/api/v1/tenants/{tid}/sites/{id}/apps 202Remove the application, its files, its database and account; the placeholder page comes back
PUT/api/v1/tenants/{tid}/sites/{id}/aspnet 202Turn ASP.NET 4.x on or off for the site
PUT/api/v1/tenants/{tid}/sites/{id}/aspnet-settings 202Apply the site's ASP.NET settings (ADR 0090)
PUT/api/v1/tenants/{tid}/sites/{id}/classic-asp 202Turn Classic ASP on or off for the site
GET/api/v1/tenants/{tid}/sites/{id}/containerThe site's Windows container, or what the server and plan offer for one (ADR 0162)
PUT/api/v1/tenants/{tid}/sites/{id}/container 202Create or change the site's container and deploy it as a new release; the running version stays until the new one answers its health check
DELETE/api/v1/tenants/{tid}/sites/{id}/containerRemove the site's container; the data folders stay in the site's folder
POST/api/v1/tenants/{tid}/sites/{id}/container/compose 202Translate a docker-compose.yml for the site (ADR 0191); with apply, make it the site's manifest and deploy it (ADR 0192). Unsafe or unsupported keys are refused with their path (COMPOSE_UNSAFE, COMPOSE_UNSUPPORTED, COMPOSE_BUILD_UNSUPPORTED, COMPOSE_PORTS, COMPOSE_VARIABLE_UNSET, COMPOSE_LINUX_IMAGE, COMPOSE_INVALID)
POST/api/v1/tenants/{tid}/sites/{id}/container/deploy 202Deploy another version of the same image (a tag or a digest) as a new release
GET/api/v1/tenants/{tid}/sites/{id}/container/logsThe end of the container's output (2000 lines)
GET/api/v1/tenants/{tid}/sites/{id}/container/releasesThe container's releases, newest first
POST/api/v1/tenants/{tid}/sites/{id}/container/releases/{rid}/activate 202Go back to a release; its exact digest runs again. Data folders are not changed
POST/api/v1/tenants/{tid}/sites/{id}/container/start 202Start the container; refused while the account is suspended
POST/api/v1/tenants/{tid}/sites/{id}/container/stop 202Stop the container
POST/api/v1/tenants/{tid}/sites/{id}/node 202Prepare a site to run a Node.js or ASP.NET Core application behind IIS
GET/api/v1/tenants/{tid}/sites/{id}/node/envThe application's environment variables, without secret values
PUT/api/v1/tenants/{tid}/sites/{id}/node/envReplace the application's environment variables
GET/api/v1/tenants/{tid}/sites/{id}/node/logsThe end of the application's log
GET/api/v1/tenants/{tid}/sites/{id}/node/releasesReleases of the site's application, newest first
POST/api/v1/tenants/{tid}/sites/{id}/node/releases 202Upload a zip of the built application and run it; the current version stays if it does not start
POST/api/v1/tenants/{tid}/sites/{id}/node/releases/{rid}/activate 202Run a release that is already on the server. Application data is not changed
PUT/api/v1/tenants/{tid}/sites/{id}/performance 202Apply the site's speed settings (ADR 0032)
PUT/api/v1/tenants/{tid}/sites/{id}/php 202Choose the site's PHP branch; an empty version turns PHP off
GET/api/v1/tenants/{tid}/sites/{id}/php-appThe site's PHP application recipe (Laravel, Symfony, Composer app) and its last jobs (ADR 0099)
PUT/api/v1/tenants/{tid}/sites/{id}/php-appChoose a recipe (empty removes it), the steps run after a Git deploy, and Laravel's scheduler
GET/api/v1/tenants/{tid}/sites/{id}/php-app/envThe app's .env variables, without secret values
PUT/api/v1/tenants/{tid}/sites/{id}/php-app/envReplace the app's variables (sealed) and write them to .env; only for a recipe served from public/
POST/api/v1/tenants/{tid}/sites/{id}/php-app/run 202Run steps as the site, in order, stopping at the first failure; composer:install or the recipe's allowed commands
PUT/api/v1/tenants/{tid}/sites/{id}/php-settings 202Apply the site's php.ini directives, extensions and FastCGI limits (ADR 0062)
PUT/api/v1/tenants/{tid}/sites/{id}/pool 202Apply the settings of the site's application pool (ADR 0062)
POST/api/v1/tenants/{tid}/sites/{id}/recycle 202Give the site a fresh worker; requests in flight finish first
GET/api/v1/tenants/{tid}/sites/{id}/tuneThe site's automatic tuning, its profile and history (ADR 0116)
POST/api/v1/tenants/{tid}/sites/{id}/tune/applyProbe the site and apply its profile now, checked and rolled back if the site answers differently
PUT/api/v1/tenants/{tid}/sites/{id}/tune/policyFollow the plan's tuning policy, or opt this site out (off reverts)
POST/api/v1/tenants/{tid}/sites/{id}/tune/revertTake back what the tuner applied
PUT/api/v1/tenants/{tid}/sites/{id}/web 202Apply the site's IIS settings (ADR 0061)
GET/api/v1/tenants/{tid}/sites/{id}/workersA website's workers, long-running background processes such as Laravel queue workers (ADR 0177)
POST/api/v1/tenants/{tid}/sites/{id}/workersAdd a worker; it runs as the website's own identity, supervised, within its caps
POST/api/v1/tenants/{tid}/sites/{id}/workers/restart 202Start every worker's processes again, each after the job it holds
PUT/api/v1/tenants/{tid}/sites/{id}/workers/{worker}Change a worker; its processes start again
DELETE/api/v1/tenants/{tid}/sites/{id}/workers/{worker}Remove a worker; its processes stop after the job they hold
GET/api/v1/tenants/{tid}/sites/{id}/workers/{worker}/logThe end of a worker's log, read from the server
POST/api/v1/tenants/{tid}/sites/{id}/workers/{worker}/restart 202Start one worker's processes again

Files, FTP and permissions 31

GET/api/v1/tenants/{tid}/sites/{id}/filesList a directory; links are shown and never followed
POST/api/v1/tenants/{tid}/sites/{id}/files/accessSet what the site's code may do in a folder - read, write, or nothing (ADR 0034)
POST/api/v1/tenants/{tid}/sites/{id}/files/compressZip entries of one folder; never replaces an existing file
GET/api/v1/tenants/{tid}/sites/{id}/files/contentDownload a file; always sent as an attachment
PUT/api/v1/tenants/{tid}/sites/{id}/files/contentUpload a file; it appears complete or not at all
POST/api/v1/tenants/{tid}/sites/{id}/files/copyCopy a file or folder inside the site; nothing is replaced
POST/api/v1/tenants/{tid}/sites/{id}/files/deleteDelete a file or folder; a link is removed, its target is not
POST/api/v1/tenants/{tid}/sites/{id}/files/extractUnpack a zip, all or nothing; never replaces existing entries
POST/api/v1/tenants/{tid}/sites/{id}/files/mkdirCreate a folder
POST/api/v1/tenants/{tid}/sites/{id}/files/renameMove an entry; never replaces an existing one
GET/api/v1/tenants/{tid}/sites/{id}/files/searchFind entries by name below a folder
GET/api/v1/tenants/{tid}/sites/{id}/files/trashDeleted items, kept for 30 days
DELETE/api/v1/tenants/{tid}/sites/{id}/files/trash/{item}Remove an item for good
POST/api/v1/tenants/{tid}/sites/{id}/files/trash/{item}/restorePut an item back; never replaces what is there now
POST/api/v1/tenants/{tid}/sites/{id}/files/writableLet the site's own code change a folder, or stop it
GET/api/v1/tenants/{tid}/sites/{id}/ftpThe site's FTPS/SFTP accounts and how to connect (ADR 0040)
POST/api/v1/tenants/{tid}/sites/{id}/ftpAdd an FTP account; the password is hashed and never returned
PUT/api/v1/tenants/{tid}/sites/{id}/ftp/{fid}Change an FTP account's folder, access, state or password (empty keeps it)
DELETE/api/v1/tenants/{tid}/sites/{id}/ftp/{fid}Remove an FTP account
GET/api/v1/tenants/{tid}/sites/{id}/permissionsScan the site's own access levels and offer permission presets (ADR 0108)
POST/api/v1/tenants/{tid}/sites/{id}/permissions/applyApply the previewed plan (409 PRESET_STALE if the site changed since)
POST/api/v1/tenants/{tid}/sites/{id}/permissions/previewExactly what a preset would change now
POST/api/v1/tenants/{tid}/sites/{id}/permissions/undoPut back what the latest preset changed, where not changed again since
GET/api/v1/tenants/{tid}/sites/{id}/protected-dirsPassword-protected folders of a site (ADR 0109)
POST/api/v1/tenants/{tid}/sites/{id}/protected-dirsProtect a folder; the server applies it before it is saved
DELETE/api/v1/tenants/{tid}/sites/{id}/protected-dirs/{dir}Stop protecting a folder
POST/api/v1/tenants/{tid}/sites/{id}/protected-dirs/{dir}/usersAdd a user (the password is hashed by the panel and never kept)
PUT/api/v1/tenants/{tid}/sites/{id}/protected-dirs/{dir}/users/{user}Change a user's password
DELETE/api/v1/tenants/{tid}/sites/{id}/protected-dirs/{dir}/users/{user}Remove a user
PUT/api/v1/tenants/{tid}/sites/{id}/webdeployTurn Web Deploy publishing on (again, with a new password) or off for the site (ADR 0089)
GET/api/v1/tenants/{tid}/sites/{id}/webdeploy/publishsettingsThe site's .publishsettings file for Visual Studio; it holds the password, so it needs site.write

Deployments and previews 25

POST/api/v1/hooks/git/{id} 202Push and pull request webhook from GitHub, GitLab, Gitea or Bitbucket (ADR 0027, 0160)
GET/api/v1/preview-gate/{id}The sign-in gate of a Git preview (ADR 0160)
GET/api/v1/tenants/{tid}/deploy/placementWhere builds run (ADR 0171); provider tenant only
PUT/api/v1/tenants/{tid}/deploy/placementChoose it
GET/api/v1/tenants/{tid}/preview-settingsThe provider's Git preview settings (ADR 0160); provider tenant only
PUT/api/v1/tenants/{tid}/preview-settingsSet the preview domain, certificates and the database copy limit
POST/api/v1/tenants/{tid}/sites/{id}/deploy-sourcePut a source on the site, as an application release or into its public folder (ADR 0025)
GET/api/v1/tenants/{tid}/sites/{id}/deploy/settingsThe site's deploy settings (ADR 0170, 0173, 0174)
PUT/api/v1/tenants/{tid}/sites/{id}/deploy/settingsChange them. Turning the migration gate on needs database.write and acknowledged_one_way
GET/api/v1/tenants/{tid}/sites/{id}/deploysThe site's latest deploy pipelines, newest first
GET/api/v1/tenants/{tid}/sites/{id}/deploys/{pid}One pipeline
POST/api/v1/tenants/{tid}/sites/{id}/deploys/{pid}/actions/{action} 202Cancel, approve the switch, switch back, or choose a recovery (retry, restore, abandon)
GET/api/v1/tenants/{tid}/sites/{id}/deploys/{pid}/logThe build's log as the server sent it so far (ADR 0171)
GET/api/v1/tenants/{tid}/sites/{id}/gitThe site's Git connection (ADR 0027); never the token or the webhook secret
PUT/api/v1/tenants/{tid}/sites/{id}/gitConnect the site to a GitHub, GitLab, Gitea or Bitbucket branch; the webhook secret is returned once
DELETE/api/v1/tenants/{tid}/sites/{id}/gitForget the repository, its token and the webhook secret
POST/api/v1/tenants/{tid}/sites/{id}/git/deployDeploy the branch's current commit now
GET/api/v1/tenants/{tid}/sites/{id}/preview-settingsA live site's preview settings and what the plan allows
PUT/api/v1/tenants/{tid}/sites/{id}/preview-settingsSave a live site's preview settings; previews take them at their next update
GET/api/v1/tenants/{tid}/sites/{id}/previewsA live site's previews, newest first
POST/api/v1/tenants/{tid}/sites/{id}/previews 202Make (or update) a preview of a branch now; it is built in the background
GET/api/v1/tenants/{tid}/sites/{id}/previews/{pid}One preview with the log of its latest build
DELETE/api/v1/tenants/{tid}/sites/{id}/previews/{pid}Remove a preview, its site (not kept) and its database
POST/api/v1/tenants/{tid}/sites/{id}/previews/{pid}/promoteDeploy the preview's commit to the live site through the ordinary deployment (a release with rollback for an application)
POST/api/v1/tenants/{tid}/sites/{id}/previews/{pid}/redeploy 202Build the preview again from its branch's newest commit

TLS, WAF and site security 16

GET/api/v1/tenants/{tid}/letsencryptThe panel's certificate authority (ADR 0012, E1); provider administrators on the root tenant only
PUT/api/v1/tenants/{tid}/letsencryptTurn on Let's Encrypt (or switch between production and staging) with the administrator's acceptance of its Subscriber Agreement; audited (acme.enable). ACME_SET_BY_SETUP when setup.json chose the CA. Not for API keys
GET/api/v1/tenants/{tid}/malwareScans and findings of every site of the tenant
POST/api/v1/tenants/{tid}/malware/findings/{fid}Quarantine, restore or delete (from quarantine only) a finding's file; never automatic
GET/api/v1/tenants/{tid}/malware/settingsDefault scan schedule for sites whose plan does not set one; provider tenant only
PUT/api/v1/tenants/{tid}/malware/settingsChange the defaults
PUT/api/v1/tenants/{tid}/sites/{id}/blocked-ips 202Replace the addresses the site refuses with 403 (ADR 0024)
POST/api/v1/tenants/{tid}/sites/{id}/certificate 202Start issuing a certificate; needs a verified hostname on a live site
PUT/api/v1/tenants/{tid}/sites/{id}/force-https 202Redirect plain HTTP to HTTPS; needs an active certificate and URL Rewrite
GET/api/v1/tenants/{tid}/sites/{id}/malwareThe site's scans and findings
POST/api/v1/tenants/{tid}/sites/{id}/malware/scans 202Scan the site with Defender and the panel's web shell rules (ADR 0084)
GET/api/v1/tenants/{tid}/sites/{id}/wafThe site's web application firewall (ADR 0106)
PUT/api/v1/tenants/{tid}/sites/{id}/wafApply the site's firewall settings; turning it on needs URL Rewrite, ARR and a plan that includes it
GET/api/v1/tenants/{tid}/sites/{id}/waf/eventsRequests the site's firewall blocked or would have blocked, newest first (kept 30 days)
GET/api/v1/tenants/{tid}/waf/defaultsThe provider's firewall defaults for sites of its servers (ADR 0106)
PUT/api/v1/tenants/{tid}/waf/defaultsReplace them; sites already set up keep their own values

Scheduled tasks 7

GET/api/v1/tenants/{tid}/sites/{id}/cronA website's scheduled tasks (ADR 0048)
POST/api/v1/tenants/{tid}/sites/{id}/cronAdd a scheduled task; it runs as the website's own identity
GET/api/v1/tenants/{tid}/sites/{id}/cron/runsThe latest run of each task, read from the server
PUT/api/v1/tenants/{tid}/sites/{id}/cron/{task}Change a scheduled task
DELETE/api/v1/tenants/{tid}/sites/{id}/cron/{task}Remove a scheduled task
POST/api/v1/tenants/{tid}/sites/{id}/cron/{task}/run 202Run a scheduled task now
GET/api/v1/tenants/{tid}/sites/{id}/cron/{task}/runsThe kept runs of one task, newest first, with their output

WordPress 22

POST/api/v1/tenants/{tid}/sites/{id}/wordpress 202Install WordPress into an empty site; the admin password is shown once
GET/api/v1/tenants/{tid}/sites/{id}/wordpress/accelThe site's WordPress page and object cache
PUT/api/v1/tenants/{tid}/sites/{id}/wordpress/accel 202Turn the page and object cache on or off; the server checks the site before and after and undoes the change if it answers differently or serves a cached page to a signed-in visitor
POST/api/v1/tenants/{tid}/sites/{id}/wordpress/accel/purge 202Empty the page and object cache
POST/api/v1/tenants/{tid}/sites/{id}/wordpress/core 202Update WordPress itself to the version in the signed catalog, restoring a backup if the site stops working
GET/api/v1/tenants/{tid}/sites/{id}/wordpress/hardeningThe latest hardening state
POST/api/v1/tenants/{tid}/sites/{id}/wordpress/hardening 202Apply or undo hardening items; with none, only check
POST/api/v1/tenants/{tid}/sites/{id}/wordpress/loginA one-time wp-admin sign-in link, valid for 60 seconds; only its hash reaches the server
PUT/api/v1/tenants/{tid}/sites/{id}/wordpress/policySet the automatic update policy
POST/api/v1/tenants/{tid}/sites/{id}/wordpress/publish 202Copy plugins and themes from a staging copy to its live site. Uploads and the database stay as they are
POST/api/v1/tenants/{tid}/sites/{id}/wordpress/staging 202Copy a live WordPress site to a new hostname for testing
GET/api/v1/tenants/{tid}/sites/{id}/wordpress/statusThe latest check of WordPress versions and available updates
POST/api/v1/tenants/{tid}/sites/{id}/wordpress/status 202Run a new check
GET/api/v1/tenants/{tid}/sites/{id}/wordpress/toolkitThis site's WordPress Toolkit row (ADR 0082)
POST/api/v1/tenants/{tid}/sites/{id}/wordpress/update 202Update plugins or themes, restoring a backup if the site stops working
GET/api/v1/tenants/{tid}/wordpressEvery WordPress site of the tenant, on every server
POST/api/v1/tenants/{tid}/wordpress/discoverFind WordPress in sites' folders and attach it; with server_id, every site on that server (server.manage)
GET/api/v1/tenants/{tid}/wordpress/updatesThe update queue, newest first
POST/api/v1/tenants/{tid}/wordpress/updates 202Queue a smart update of many sites (snapshot, update, check, roll back on failure)
GET/api/v1/tenants/{tid}/wordpress/vulnerability-feedThe vulnerability feed's state (ADR 0083)
PUT/api/v1/tenants/{tid}/wordpress/vulnerability-feedSet (or with an empty key, remove) the feed's API key; provider tenant only
POST/api/v1/tenants/{tid}/wordpress/vulnerability-feed/refreshDownload the feed now

Databases 37

GET/api/v1/tenants/{tid}/databases
POST/api/v1/tenants/{tid}/databasesCreate a database and its account; the password is shown once
DELETE/api/v1/tenants/{tid}/databases/{id}Delete a database and its account, including its data
GET/api/v1/tenants/{tid}/databases/{id}/adminerThe open database tool for this database, if any
POST/api/v1/tenants/{tid}/databases/{id}/adminerOpen the database tool on an HTTPS site for up to 60 minutes
DELETE/api/v1/tenants/{tid}/databases/{id}/adminerClose the database tool now
GET/api/v1/tenants/{tid}/databases/{id}/backups
POST/api/v1/tenants/{tid}/databases/{id}/backups 202Queue a backup
DELETE/api/v1/tenants/{tid}/databases/{id}/backups/{bid}Delete a backup
GET/api/v1/tenants/{tid}/databases/{id}/backups/{bid}/contentDownload a backup
POST/api/v1/tenants/{tid}/databases/{id}/backups/{bid}/restoreReplace the database with a backup; a safety backup is taken first
POST/api/v1/tenants/{tid}/databases/{id}/copyCopy the database to a new one on the same server and engine, with its own account; the password is shown once
POST/api/v1/tenants/{tid}/databases/{id}/import 202Import a dump into the database (ADR 0068): .sql or .sql.gz for MariaDB and PostgreSQL (also pg_dump custom format), .bak for SQL Server. A safety backup is taken first and put back if the import fails; the reply is that backup, whose state follows the import.
POST/api/v1/tenants/{tid}/databases/{id}/passwordReplace the account's password. It is shown once, or written into the application that uses it
GET/api/v1/tenants/{tid}/databases/{id}/pitrThe database's point-in-time recovery: whether it is on, the earliest and latest moments it can be restored to (ADR 0183)
PUT/api/v1/tenants/{tid}/databases/{id}/pitrTurn point-in-time recovery on or off; the plan's pitr_days says how far back it reaches (ADR 0183)
POST/api/v1/tenants/{tid}/databases/{id}/pitr/restore 202Restore the database as it was just before a moment: into a new database (201, its password shown once) or in place after a safety backup (202) (ADR 0183)
GET/api/v1/tenants/{tid}/databases/{id}/tlsHow to reach the database over TLS from outside (ADR 0181)
GET/api/v1/tenants/{tid}/databases/{id}/usersThe database's extra users (ADR 0067)
POST/api/v1/tenants/{tid}/databases/{id}/usersAdd a user with read-only, read-write or chosen privileges; the password is shown once
PUT/api/v1/tenants/{tid}/databases/{id}/users/{uid}Change a user's privileges and the networks it may connect from; its password stays
DELETE/api/v1/tenants/{tid}/databases/{id}/users/{uid}Remove a user
POST/api/v1/tenants/{tid}/databases/{id}/users/{uid}/passwordReplace a user's password; shown once, after it works
GET/api/v1/tenants/{tid}/db-serversExternal database servers the provider registered; needs server.manage (ADR 0182)
POST/api/v1/tenants/{tid}/db-serversRegister an external database server after connecting to it over verified TLS as its administrator (ADR 0182)
GET/api/v1/tenants/{tid}/db-servers/availableExternal database servers the tenant may place databases on: its own and those its providers share (ADR 0182)
POST/api/v1/tenants/{tid}/db-servers/fingerprintRead the SHA-256 of the certificate a database server presents, to pin it; no credential is sent (ADR 0182)
PUT/api/v1/tenants/{tid}/db-servers/{sid}Change a server's settings; a new password or TLS setting is proved by connecting (ADR 0182)
DELETE/api/v1/tenants/{tid}/db-servers/{sid}Forget a server with no databases left on it; the server itself is not touched
POST/api/v1/tenants/{tid}/db-servers/{sid}/checkCheck the server's health now
GET/api/v1/tenants/{tid}/remote-databasesThe tenant's databases on external servers (ADR 0182)
POST/api/v1/tenants/{tid}/remote-databasesMake a database and its owner on an external server; the password is shown once (ADR 0182)
DELETE/api/v1/tenants/{tid}/remote-databases/{id}Drop the database and its owner on the server
POST/api/v1/tenants/{tid}/remote-databases/{id}/passwordGive the owner a new password, shown once
GET/api/v1/tenants/{tid}/servers/{id}/database-tlsTLS of the server's database engines for remote connections; needs server.manage (ADR 0181)
PUT/api/v1/tenants/{tid}/servers/{id}/database-tlsChoose the certificate (the panel's database CA, or on the panel's own machine the panel's certificate) and whether remote users must use TLS; issues it (ADR 0181)
POST/api/v1/tenants/{tid}/servers/{id}/database-tls/renewIssue the database certificate again now (ADR 0181)

Caches 4

GET/api/v1/tenants/{tid}/cachesRedis-compatible caches (Garnet), one process each (ADR 0050)
POST/api/v1/tenants/{tid}/cachesMake a cache on a server; its password is in this answer only
DELETE/api/v1/tenants/{tid}/caches/{id}Remove a cache from its server
POST/api/v1/tenants/{tid}/caches/{id}/passwordGive a cache a new password, shown once

DNS 22

GET/api/v1/tenants/{tid}/dns/templateThe record template new zones start from (ADR 0093); provider and resellers only
PUT/api/v1/tenants/{tid}/dns/templateKeep a new template; the old one becomes the prior a merge compares with
DELETE/api/v1/tenants/{tid}/dns/templateDrop the tenant's own template and inherit again
POST/api/v1/tenants/{tid}/dns/template/applyApply the template to the chosen zones
POST/api/v1/tenants/{tid}/dns/template/previewWhat applying the template would add and remove, zone by zone; changes nothing
GET/api/v1/tenants/{tid}/dns/zonesDNS zones the panel holds (ADR 0033)
POST/api/v1/tenants/{tid}/dns/zonesAdd a zone to prove; it is served only once proven
GET/api/v1/tenants/{tid}/dns/zones/{zid}One zone with its records
DELETE/api/v1/tenants/{tid}/dns/zones/{zid}Take the zone off the server and forget it
PUT/api/v1/tenants/{tid}/dns/zones/{zid}/cloudflare-tokenReplace the Cloudflare token with one that reaches the same zone
PUT/api/v1/tenants/{tid}/dns/zones/{zid}/credentialsReplace an outside zone's credentials with ones that reach the same zone
GET/api/v1/tenants/{tid}/dns/zones/{zid}/dnssecThe zone's DNSSEC as of the last check (ADR 0094)
POST/api/v1/tenants/{tid}/dns/zones/{zid}/dnssec/refreshAsk the server how the zone is signed now
POST/api/v1/tenants/{tid}/dns/zones/{zid}/dnssec/signSign the zone on Microsoft DNS, with automatic key rollover
POST/api/v1/tenants/{tid}/dns/zones/{zid}/dnssec/unsignUnsign the zone and remove its keys; take the DS off at the registrar first
PUT/api/v1/tenants/{tid}/dns/zones/{zid}/recordsReplace the zone's records; a served zone changes on the server first
POST/api/v1/tenants/{tid}/dns/zones/{zid}/refreshTake the records Cloudflare holds now as the zone's records
POST/api/v1/tenants/{tid}/dns/zones/{zid}/verifyProve the zone by its public NS or TXT record, or with a reason; then serve it
GET/api/v1/tenants/{tid}/servers/{id}/dns-secondariesThe secondaries allowed to copy this server's zones (ADR 0095)
POST/api/v1/tenants/{tid}/servers/{id}/dns-secondariesAdd a secondary, another panel server or an outside one by address
POST/api/v1/tenants/{tid}/servers/{id}/dns-secondaries/syncApply every zone again with the current transfer list
DELETE/api/v1/tenants/{tid}/servers/{id}/dns-secondaries/{sid}Remove a secondary; transfers to it end

Mail 26

GET/api/v1/tenants/{tid}/connection-infoEverything the account needs to connect - panel, DNS, FTP, mail - and whether the domain points here
GET/api/v1/tenants/{tid}/connection-info/mail-configA mail client set-up file without any password - Thunderbird autoconfig, Outlook autodiscover or an Apple profile
GET/api/v1/tenants/{tid}/mail/domainsMail domains with their mailboxes (ADR 0038)
POST/api/v1/tenants/{tid}/mail/domainsTurn on mail for a proven domain on a server with MailEnable
GET/api/v1/tenants/{tid}/mail/domains/{did}One mail domain, with a fresh look at its DNS
DELETE/api/v1/tenants/{tid}/mail/domains/{did}Remove the domain, its mailboxes and their mail from the server
POST/api/v1/tenants/{tid}/mail/domains/{did}/dnsAdd the mail records to the zone the panel holds
PUT/api/v1/tenants/{tid}/mail/domains/{did}/enabledTurn the domain's mail on or off
POST/api/v1/tenants/{tid}/mail/domains/{did}/listsAdd a mailing list (ADR 0072)
PUT/api/v1/tenants/{tid}/mail/domains/{did}/lists/{lid}Change a mailing list's owner, moderation and members
DELETE/api/v1/tenants/{tid}/mail/domains/{did}/lists/{lid}Remove a mailing list
POST/api/v1/tenants/{tid}/mail/domains/{did}/mailboxesAdd a mailbox; the password goes to the server once
PUT/api/v1/tenants/{tid}/mail/domains/{did}/mailboxes/{mid}Change a mailbox; the password only when given
DELETE/api/v1/tenants/{tid}/mail/domains/{did}/mailboxes/{mid}Remove a mailbox and its mail
PUT/api/v1/tenants/{tid}/mail/domains/{did}/mailboxes/{mid}/autoresponderSet a mailbox's autoresponder (ADR 0072)
PUT/api/v1/tenants/{tid}/mail/domains/{did}/policySet a domain's catch-all and spam policy; MAIL_NOT_SUPPORTED where the engine has none (ADR 0072, 0073)
GET/api/v1/tenants/{tid}/servers/{id}/mail-hostThe server's mail host and its certificate (ADR 0039)
PUT/api/v1/tenants/{tid}/servers/{id}/mail-hostName the server's mail host and issue its certificate; needs server.manage (ADR 0039)
GET/api/v1/tenants/{tid}/servers/{id}/mail-queueMessages waiting to leave the server, envelopes only; needs server.manage (ADR 0074)
POST/api/v1/tenants/{tid}/servers/{id}/mail-queue/actionsRetry or delete queued messages; needs server.manage
GET/api/v1/tenants/{tid}/servers/{id}/mail-settingsThe server's mail settings; needs server.manage (ADR 0073, 0074)
PUT/api/v1/tenants/{tid}/servers/{id}/mail-settingsSet the smarthost, spam and virus filtering and the server-wide cap; needs server.manage
GET/api/v1/tenants/{tid}/servers/{id}/mail-usageThe last hour's outgoing mail against each plan's limits; needs server.manage (ADR 0073)
GET/api/v1/tenants/{tid}/smtpThe panel's outgoing mail server (ADR 0057); provider tenant only. The password is never returned
PUT/api/v1/tenants/{tid}/smtpSet the outgoing mail server; an empty password keeps the stored one
POST/api/v1/tenants/{tid}/smtp/testSend a test email now; the answer says whether the server took it

Servers 15

GET/api/v1/tenants/{tid}/serversEnrolled servers
GET/api/v1/tenants/{tid}/servers/{id}One enrolled server, as the server list shows it (R22)
DELETE/api/v1/tenants/{tid}/servers/{id}Remove a lost server, one whose agent never connected, or one whose agent was revoked, from the server list (ADR 0149 D21, ADR 0164 D28, ADR 0166)
POST/api/v1/tenants/{tid}/servers/{id}/broker-check 202Run a job through the agent and the privileged broker
GET/api/v1/tenants/{tid}/servers/{id}/capabilitiesObserved facts and what can be offered, with reasons and freshness
GET/api/v1/tenants/{tid}/servers/{id}/ftpThe server's FTP service; needs server.manage (ADR 0040)
PUT/api/v1/tenants/{tid}/servers/{id}/ftpTurn the FTP service on or off and set its ports; opens or closes the firewall
POST/api/v1/tenants/{tid}/servers/{id}/inventory 202Ask the agent to report machine facts
GET/api/v1/tenants/{tid}/servers/{id}/logsA redacted page of the server's Event Log (System, Application), agent or broker log (ADR 0077); server.manage; audited
GET/api/v1/tenants/{tid}/servers/{id}/monitorThe server's load and its sites', busiest and overloaded first (ADR 0036)
PUT/api/v1/tenants/{tid}/servers/{id}/networkThe server's public address and nameserver names
POST/api/v1/tenants/{tid}/servers/{id}/runtimes/{rid}/install 202Queue a catalog runtime's install recipe
POST/api/v1/tenants/{tid}/servers/{id}/usageMeasure now the disk use and this month's traffic of every site on the server (ADR 0029)
GET/api/v1/tenants/{tid}/servers/{id}/webdeployThe server's Web Deploy service (ADR 0089)
PUT/api/v1/tenants/{tid}/servers/{id}/webdeployTurn the Web Management Service on or off and scope port 8172 in the firewall

Server updates, services and tuning 16

PUT/api/v1/tenants/{tid}/servers/{id}/maintenanceTurn maintenance on (with a note) or off (empty note); the server takes nothing new while on (ADR 0052)
GET/api/v1/tenants/{tid}/servers/{id}/orphan-foldersWebsite folders on the server the panel has no record of (no site, deleted or not, and no retention row), with size and file count; provider only (R22, ADR 0105)
POST/api/v1/tenants/{tid}/servers/{id}/orphan-folders/remove 202Queue the removal of one website folder the panel has no record of; its name typed in confirm; provider only; audited server.site_folder_orphan_remove (R22, ADR 0105)
GET/api/v1/tenants/{tid}/servers/{id}/servicesThe allow-listed Windows services of a server, their state and start type (ADR 0075); server.read
POST/api/v1/tenants/{tid}/servers/{id}/services/controlStart, stop, restart a service or set its start type; the panel's own services are refused; audited (ADR 0075)
POST/api/v1/tenants/{tid}/servers/{id}/services/remove-orphanRemove a ZopanelCache-* or ZopanelApp-* service whose cache or site the panel has no record of; provider only; audited (ADR 0105)
POST/api/v1/tenants/{tid}/servers/{id}/time-sync 202Set Windows Time to follow NTP and correct the clock now (ADR 0060)
GET/api/v1/tenants/{tid}/servers/{id}/tuneThe server-wide tuning (compression, Brotli, HTTP/3, TLS 1.3; ADR 0118)
PUT/api/v1/tenants/{tid}/servers/{id}/tuneSet the server-wide tuning policy and apply it now
GET/api/v1/tenants/{tid}/servers/{id}/updatesPending Windows updates, restart state and the maintenance window (ADR 0076); server.read
POST/api/v1/tenants/{tid}/servers/{id}/updates/installInstall updates from the last scan now, or approve them for the next window; audited
POST/api/v1/tenants/{tid}/servers/{id}/updates/reboot 202Restart the server in maintenance mode; maintenance ends when it is seen up again; audited
GET/api/v1/tenants/{tid}/servers/{id}/updates/runsScans, installs and restarts, newest first
POST/api/v1/tenants/{tid}/servers/{id}/updates/scan 202Look for pending updates now; audited
PUT/api/v1/tenants/{tid}/servers/{id}/updates/settingsSet the maintenance window, automatic install and restart policy; audited
POST/api/v1/tenants/{tid}/servers/{id}/updates/unapproveTake updates off the next window's list

Server hardening 9

PUT/api/v1/tenants/{tid}/servers/{id}/blocked-ipsReplace the addresses the server's firewall refuses (ADR 0024)
GET/api/v1/tenants/{tid}/servers/{id}/hardeningOne-click security fixes of a server, its last deep check and what can be undone (ADR 0111); provider administrators only
POST/api/v1/tenants/{tid}/servers/{id}/hardening/scanDeep check through the broker (Guest, lockout policy, IIS headers and the rest); kept and audited
POST/api/v1/tenants/{tid}/servers/{id}/hardening/{fix}/applyApply a fix through a signed broker job, read it back, keep the state before for undo, audit and re-check
POST/api/v1/tenants/{tid}/servers/{id}/hardening/{fix}/previewWhat a fix would change, its warnings and whether it needs a restart; nothing is written
POST/api/v1/tenants/{tid}/servers/{id}/hardening/{fix}/revertPut back the state kept by the last apply; refused for Defender (never turned off)
GET/api/v1/tenants/{tid}/servers/{id}/presetThe set of software this server is installing by itself, item by item (ADR 0049)
POST/api/v1/tenants/{tid}/servers/{id}/preset/retryPut the entries that failed or were skipped back in line and run the plan again, also a stopped one (ADR 0114)
POST/api/v1/tenants/{tid}/servers/{id}/preset/stopStop the plan; an install already started finishes

Agents and fleet 20

GET/api/v1/tenants/{tid}/agent-rolloutsAgent updates in batches (ADR 0098); needs server.read
POST/api/v1/tenants/{tid}/agent-rollouts 202Update every agent to the panel's release, a canary batch first; stops when a batch fails. NO_RELEASE, ROLLOUT_BUSY, ROLLOUT_NOTHING_TO_DO
GET/api/v1/tenants/{tid}/agent-rollouts/{rid}One rollout
POST/api/v1/tenants/{tid}/agent-rollouts/{rid}/actions/{action} 202resume a stopped rollout (its failed servers get the update again) or cancel
GET/api/v1/tenants/{tid}/agent-versionsEvery server's agent version and protocol against the panel, by the version skew policy (ADR 0152). Servers whose agent was revoked are left out.
GET/api/v1/tenants/{tid}/enrollment-tokensEnrollment tokens: live ones, and those used or expired in the last 24 hours, without their secret (ADR 0133)
POST/api/v1/tenants/{tid}/enrollment-tokensCreate a one-time agent enrollment token
DELETE/api/v1/tenants/{tid}/enrollment-tokens/{id}Revoke an unused enrollment token: no server can join with it any more (ADR 0133)
GET/api/v1/tenants/{tid}/local-serverHow connecting the panel's own machine as a server goes (ADR 0114); 404 LOCAL_SERVER_NONE when it does not wait for that. Provider's own tenant only
POST/api/v1/tenants/{tid}/local-server 202Connect the panel's own machine (again after a failure), installing the ticked part of the recommended set
GET/api/v1/tenants/{tid}/server-lossesThe provider's servers declared lost and what replaced them (ADR 0149)
GET/api/v1/tenants/{tid}/server-rebuildsRebuilds of lost servers (ADR 0149)
POST/api/v1/tenants/{tid}/server-rebuilds 202Declare a server lost (its agent revoked, maintenance) and rebuild everything it had on another server. Needs server.manage and the lost server's name in confirm. REBUILD_CONFIRM, REBUILD_BUSY, REBUILD_NOTHING
POST/api/v1/tenants/{tid}/server-rebuilds/planDry run of rebuilding a lost server on another one from off-machine backups (ADR 0149). Writes nothing. Needs server.manage. REBUILD_SOURCE_ONLINE, REBUILD_TARGET_OFFLINE, REBUILD_TARGET_LOST, REBUILD_SAME_SERVER
GET/api/v1/tenants/{tid}/server-rebuilds/{rid}One rebuild with its items
POST/api/v1/tenants/{tid}/server-rebuilds/{rid}/actions/{action} 202retry (every failed or blocked item, or the one named in item) or cancel (the items not done). REBUILD_STATE when there is nothing to do
GET/api/v1/tenants/{tid}/servers/{id}/abandonWhat abandoning a gone server would drop, per tenant (ADR 0198)
POST/api/v1/tenants/{tid}/servers/{id}/abandonAbandon a gone server with what the panel keeps of it (ADR 0198)
DELETE/api/v1/tenants/{tid}/servers/{id}/agentRevoke a server's agent
POST/api/v1/tenants/{tid}/servers/{id}/agent-update 202Move the server's agent and broker to the release the panel runs (ADR 0046)

Backups and restore tests 17

GET/api/v1/backup-oauth/callbackThe services' OAuth redirect; the sealed state says who asked. Redirects to the backups page with the outcome.
GET/api/v1/tenants/{tid}/backup-cloud-appsThe provider's OAuth apps at Google Drive, OneDrive and Dropbox; never the secret (ADR 0100). Root tenant only.
PUT/api/v1/tenants/{tid}/backup-cloud-apps/{provider}Set a service's OAuth client; an empty secret keeps the old one, an empty client id removes the service
GET/api/v1/tenants/{tid}/backup-settingsThe account's S3 target, schedule and retention; secrets are never returned
PUT/api/v1/tenants/{tid}/backup-settingsChange the S3 target (an empty secret keeps the old one), schedule and how many to keep
GET/api/v1/tenants/{tid}/backupsThe account's backups, newest first (ADR 0041)
POST/api/v1/tenants/{tid}/backups 202Start a backup of the account on a server, full or databases only
DELETE/api/v1/tenants/{tid}/backups/cloudForget the connected cloud account's tokens; copies stay in the customer's account
POST/api/v1/tenants/{tid}/backups/cloud/connectStart connecting a cloud account; the browser goes to auth_url, the service's consent page (OAuth2 with PKCE)
DELETE/api/v1/tenants/{tid}/backups/{bid}Delete a backup on the server and in S3; one that incremental backups build on needs with_dependents
POST/api/v1/tenants/{tid}/backups/{bid}/restore 202Put parts of a backup back (sites' files, databases, mail); returns the job to follow
GET/api/v1/tenants/{tid}/restore-test-historyThe restore tests of this account's own backups, newest first, for its backups page (ADR 0188)
GET/api/v1/tenants/{tid}/restore-testsRestore test results (ADR 0154); the provider sees every account its policy covers, an account on a plan with restore tests its own tests
POST/api/v1/tenants/{tid}/restore-tests 202Test one account's newest backup now, in a sandbox on a server; never touches what runs
GET/api/v1/tenants/{tid}/restore-tests/policyThe provider's restore test policy (the defaults until saved)
PUT/api/v1/tenants/{tid}/restore-tests/policyChange it
GET/api/v1/tenants/{tid}/restore-tests/{id}One restore test with its checks

Disaster recovery 5

GET/api/v1/tenants/{tid}/disaster-recoveryThe panel's disaster-recovery exports, schedule and passphrase state (ADR 0078); provider administrators, session only
POST/api/v1/tenants/{tid}/disaster-recovery/exportsMake an export now (kept on the panel and, when set up, in the provider's S3 bucket); audited
GET/api/v1/tenants/{tid}/disaster-recovery/exports/{name}Download an export; it opens only with the recovery passphrase; audited
PUT/api/v1/tenants/{tid}/disaster-recovery/passphraseSet or change the recovery passphrase; the administrator's password is checked again; audited
PUT/api/v1/tenants/{tid}/disaster-recovery/scheduleWhen exports are made and how many are kept; audited

Migrations and imports 25

PUT/api/v1/import/{iid}/archiveThe old server's packed, encrypted backup of what the plan names
POST/api/v1/import/{iid}/inventoryThe old server's inventory; authenticated by the import token (ADR 0042)
GET/api/v1/import/{iid}/planThe plan for the old server, with the target account's backup key; 204 until the targets exist
GET/api/v1/tenants/{tid}/importsImports from old servers; needs server.manage
POST/api/v1/tenants/{tid}/importsStart an import; the token is shown once
GET/api/v1/tenants/{tid}/imports/{iid}An import with the old server's inventory and, once done, the new credentials
POST/api/v1/tenants/{tid}/imports/{iid}/passwordsShow the new databases' and mailboxes' passwords of a finished import, once; the panel forgets them in the same step (ADR 0042). IMPORT_PASSWORDS_SHOWN when already shown
POST/api/v1/tenants/{tid}/imports/{iid}/plan 202Choose what to move and to which account and server; the panel makes the targets
GET/api/v1/tenants/{tid}/linux-importsImports from cPanel and DirectAdmin account backups (ADR 0185); needs server.manage
POST/api/v1/tenants/{tid}/linux-importsStart an import from an uploaded backup, an https link, or the source panel's API (cPanel UAPI token, WHM token, DirectAdmin login key; certificate pinned, token sealed). LINUX_IMPORT_SOURCE, LINUX_IMPORT_API, LINUX_IMPORT_API_AUTH, LINUX_IMPORT_API_CERTIFICATE, LINUX_IMPORT_PRIVATE_ADDRESS
POST/api/v1/tenants/{tid}/linux-imports/probeShow the source panel's certificate before anything is trusted or sent
GET/api/v1/tenants/{tid}/linux-imports/{lid}One import, with the inventory and every exception
POST/api/v1/tenants/{tid}/linux-imports/{lid}/actions/{action} 202final (fetch a newer backup from the link or API for the final delta), cutover (point DNS, turn the tasks on), retry (the failed step) or cancel
PUT/api/v1/tenants/{tid}/linux-imports/{lid}/archive 202Upload the account backup (cpmove-USER.tar.gz, backup-DATE_USER.tar.gz, user.OWNER.USER.tar.gz or .tar.zst), the first or a newer one for the final delta; at most 200 GiB. LINUX_IMPORT_TOO_LARGE
POST/api/v1/tenants/{tid}/linux-imports/{lid}/dry-runWhat the plan would do, the names already taken, the software the server lacks and the exceptions; changes nothing
POST/api/v1/tenants/{tid}/linux-imports/{lid}/passwordsThe new mailbox, database user and FTP passwords, once. LINUX_IMPORT_PASSWORDS_SHOWN when already shown
POST/api/v1/tenants/{tid}/linux-imports/{lid}/plan 202Choose what to move; the panel makes the targets and copies. LINUX_IMPORT_PLAN_INVALID, LINUX_IMPORT_PLAN_EMPTY, LINUX_IMPORT_CONFLICTS
GET/api/v1/tenants/{tid}/migrations/pleskMigrations from Plesk servers; needs server.manage
POST/api/v1/tenants/{tid}/migrations/pleskSign in to Plesk with the confirmed fingerprints and read its inventory. The key or password is sealed and never returned. MIGRATE_PLESK_AUTH, MIGRATE_PLESK_CERTIFICATE, MIGRATE_PLESK_UNREACHABLE
POST/api/v1/tenants/{tid}/migrations/plesk/probeShow a Plesk server's panel and FTP certificates before anything is trusted or sent (ADR 0096); needs server.manage
GET/api/v1/tenants/{tid}/migrations/plesk/{mid}One migration; secrets only as "set" flags
POST/api/v1/tenants/{tid}/migrations/plesk/{mid}/actions/{action} 202final_sync (copy only what changed, once Plesk is read-only), retry (the failed step) or cancel
POST/api/v1/tenants/{tid}/migrations/plesk/{mid}/passwordsThe new databases' and mailboxes' passwords, once. MIGRATE_PASSWORDS_SHOWN when already shown
POST/api/v1/tenants/{tid}/migrations/plesk/{mid}/plan 202Choose subscriptions, with the FTP password and database logins Plesk does not give back; the panel makes the targets and copies. MIGRATE_PLAN_INVALID, MIGRATE_MSSQL_NOT_ALLOWED
POST/api/v1/tenants/{tid}/migrations/plesk/{mid}/refreshRead Plesk's inventory again, before a plan is made

Uptime monitoring 12

POST/api/v1/tenants/{tid}/uptime/checkersAdd an external checker (zopanel-uptime); its secret is shown once
DELETE/api/v1/tenants/{tid}/uptime/checkers/{id}Remove an external checker; its checks go back to the panel
GET/api/v1/tenants/{tid}/uptime/incidentsThe account's incidents of the last 90 days
GET/api/v1/tenants/{tid}/uptime/monitorsThe account's uptime checks with their figures, recent incidents and usable external checkers (ADR 0156)
POST/api/v1/tenants/{tid}/uptime/monitorsAdd a check of a website, a mail service, a port, a server's agent or the panel
POST/api/v1/tenants/{tid}/uptime/monitors/autoAdd a check for every website and owned server that has none
GET/api/v1/tenants/{tid}/uptime/monitors/{id}One check over a range, with response times, incidents and 90 day bars
PUT/api/v1/tenants/{tid}/uptime/monitors/{id}Change a check's settings; its history stays
DELETE/api/v1/tenants/{tid}/uptime/monitors/{id}Remove a check, its history and its place on status pages
POST/api/v1/tenants/{tid}/uptime/monitors/{id}/checkRun a check now and record it like a scheduled one
GET/api/v1/uptime-checkers/{id}/configAn external checker's checks, signed with its secret (X-Zopanel-Signature); the request is signed too
POST/api/v1/uptime-checkers/{id}/resultsResults from an external checker, signed; only its own checks count

Status pages 26

GET/api/v1/tenants/{tid}/status-page-choicesThe checks the account's status pages may show, its own and its accounts' (ADR 0187)
GET/api/v1/tenants/{tid}/status-pagesThe account's public status pages
POST/api/v1/tenants/{tid}/status-pagesAdd a status page of chosen checks
GET/api/v1/tenants/{tid}/status-pages/{id}One status page with its components, notices and subscriber counts
PUT/api/v1/tenants/{tid}/status-pages/{id}Change a status page and its components
DELETE/api/v1/tenants/{tid}/status-pages/{id}Remove a status page with its notices and subscribers
POST/api/v1/tenants/{tid}/status-pages/{id}/noticesPost an incident note or schedule a maintenance; confirmed subscribers are emailed
PUT/api/v1/tenants/{tid}/status-pages/{id}/notices/{nid}Add a message to a notice and move its state
DELETE/api/v1/tenants/{tid}/status-pages/{id}/notices/{nid}Remove a notice posted by mistake
GET/statusThe default status page of the brand at this hostname, or the provider's (ADR 0187)
GET/status-assets/status.cssThe status pages' stylesheet
GET/status.jsonThe default page for machines
GET/status/confirmThe default page's confirmation link page
POST/status/confirmConfirm a subscription to the default page
GET/status/historyThe default page's last 90 days of incidents
POST/status/subscribeEmail updates from the default page (double opt-in)
GET/status/unsubscribeThe default page's unsubscribe link page
POST/status/unsubscribeStop email updates from the default page
GET/status/{slug}A published status page, HTML without JavaScript; cacheable, rate-limited per address
GET/status/{slug}/confirmThe confirmation link's page, with a button; opening it confirms nothing
POST/status/{slug}/confirmConfirm the subscription
GET/status/{slug}/historyThe page's incidents and maintenance of the last 90 days (ADR 0187)
GET/status/{slug}/status.jsonThe same page for machines
POST/status/{slug}/subscribeAsk for email updates; a confirmation link is mailed (double opt-in)
GET/status/{slug}/unsubscribeThe unsubscribe link's page, with a button
POST/status/{slug}/unsubscribeStop the email updates

Alerts and webhooks 8

GET/api/v1/tenants/{tid}/alertsThe tenant's alert channels with their latest deliveries (ADR 0037)
POST/api/v1/tenants/{tid}/alertsAdd a webhook or Telegram channel; a webhook's signing secret is shown once
DELETE/api/v1/tenants/{tid}/alerts/{cid}Remove an alert channel
PUT/api/v1/tenants/{tid}/alerts/{cid}/eventsChoose which events the channel receives
POST/api/v1/tenants/{tid}/alerts/{cid}/testSend a test message now; the answer says whether it arrived
GET/api/v1/tenants/{tid}/webhooksEndpoints that receive signed events (ADR 0051)
POST/api/v1/tenants/{tid}/webhooksAdd an endpoint; its signing secret is in this answer only
DELETE/api/v1/tenants/{tid}/webhooks/{id}Remove an endpoint and what it had still to receive

Jobs, operations and audit log 5

GET/api/v1/tenants/{tid}/audit-events
GET/api/v1/tenants/{tid}/jobsThe tenant's jobs, newest first; file browsing jobs are left out
GET/api/v1/tenants/{tid}/jobs/{id}
GET/api/v1/tenants/{tid}/jobs/{id}/events
GET/api/v1/tenants/{tid}/operations/{oid}A long request that answered 202, and once done the answer it would have given (ADR 0132)

AI assistant and MCP 12

GET/api/v1/tenants/{tid}/assistantWhat the signed-in user may do with the assistant here (ADR 0161): on or why not, model, this month's use and budget
POST/api/v1/tenants/{tid}/assistant/acknowledgeThe signed-in user read the notice on how the assistant uses data
GET/api/v1/tenants/{tid}/assistant/conversationsThe signed-in user's own conversations in this account, newest first
POST/api/v1/tenants/{tid}/assistant/conversationsStart a conversation (ASSISTANT_OFF, ASSISTANT_NOTICE_REQUIRED, ASSISTANT_BUDGET_EXCEEDED)
GET/api/v1/tenants/{tid}/assistant/conversations/{cid}One of the user's conversations with its tool cards and changes
DELETE/api/v1/tenants/{tid}/assistant/conversations/{cid}Delete a conversation for good
POST/api/v1/tenants/{tid}/assistant/conversations/{cid}/actions/{aid}Approve or decline a change the assistant proposed. Approved, it runs as the caller through its own route, audited with via=assistant, plus assistant.action; then the answer continues as server-sent events
POST/api/v1/tenants/{tid}/assistant/conversations/{cid}/messagesSend a message; the answer streams as server-sent events. Tools run as the caller through these same routes; changes wait for the user (event action). Errors before the stream starts are ordinary problems (ASSISTANT_RATE_LIMITED, ASSISTANT_BUSY)
GET/api/v1/tenants/{tid}/assistant/settingsThe provider's assistant settings and this month's use per account; root tenant administrators
PUT/api/v1/tenants/{tid}/assistant/settingsSave them. Turning on needs the API key and the data-processing notice accepted (ASSISTANT_KEY_REQUIRED, ASSISTANT_NOTICE_REQUIRED). Audited as assistant.settings
PUT/api/v1/tenants/{tid}/assistant/tenant-settingsTurn the assistant off (or back on) for this account; account administrators (member.invite). Audited as assistant.tenant_settings
POST/api/v1/tenants/{tid}/mcp 202MCP server (Streamable HTTP, JSON answers, no session) with the assistant's tools: initialize, tools/list, tools/call, ping. API keys only (ASSISTANT_MCP_API_KEY_REQUIRED); the key's owner and scope apply to every tool. Notifications answer 202

Branding and customer-facing pages 19

GET/api/v1/brandingThe brand of the caller's own panel
GET/api/v1/branding-assets/{hash}A brand's logo or favicon by its SHA-256, served as an image only (strict policy, sandboxed)
GET/api/v1/branding/publicThe sign-in page's brand, by the hostname it is opened on (ADR 0085)
GET/api/v1/tenants/{tid}/brandingA seller's own white label (provider or reseller)
PUT/api/v1/tenants/{tid}/brandingSave the white label and panel hostnames; accents must keep WCAG AA (BRANDING_CONTRAST)
DELETE/api/v1/tenants/{tid}/brandingRemove the white label; customers see the brand above
PUT/api/v1/tenants/{tid}/branding/assets/{kind}Upload the logo or favicon (PNG re-encoded; SVG refused when it has anything active), at most 256 KB
DELETE/api/v1/tenants/{tid}/branding/assets/{kind}Remove the logo or favicon
GET/api/v1/tenants/{tid}/custom-buttonsA seller's custom buttons and the icons they may use
POST/api/v1/tenants/{tid}/custom-buttonsAdd a button to the customers' menu or overview
GET/api/v1/tenants/{tid}/custom-buttons/visibleThe buttons this tenant's pages show, from the seller that owns it
PUT/api/v1/tenants/{tid}/custom-buttons/{bid}Change a button
DELETE/api/v1/tenants/{tid}/custom-buttons/{bid}Remove a button
GET/api/v1/tenants/{tid}/notice-templatesThe quota notice templates of this seller, each kind in vi and en
PUT/api/v1/tenants/{tid}/notice-templates/{kind}/{lang}Save a notice template after trying it; empty subject and body restore the default
GET/api/v1/tenants/{tid}/suspension-pageThe page visitors of this seller's suspended accounts see (ADR 0071)
PUT/api/v1/tenants/{tid}/suspension-pageSave the suspension page (or reset it); accounts suspended now get it too
GET/api/v1/tenants/{tid}/suspension-page/previewThe suspension page as HTML, from query fields, for the editor's sandboxed frame
POST/api/v1/tenants/{tid}/suspension-page/previewRender a suspension page as typed, without saving it

Panel administration 22

GET/api/v1/tenants/{tid}/autoheal-policyWhat the panel does by itself with overloaded sites and services (ADR 0091, 0092)
PUT/api/v1/tenants/{tid}/autoheal-policyReplace the policy (server.manage)
PUT/api/v1/tenants/{tid}/catalogInstall a newer signed catalog; provider tenant only
GET/api/v1/tenants/{tid}/catalog/runtimesSigned runtime catalog, evaluated for a server when server_id is given
GET/api/v1/tenants/{tid}/container-settingsThe registries containers may use and whether digests are required
PUT/api/v1/tenants/{tid}/container-settingsChange them (the provider only)
GET/api/v1/tenants/{tid}/licenseThis installation's license, its limits and what is in use (ADR 0047); provider administrators only
PUT/api/v1/tenants/{tid}/licenseReplace the license with a signed one issued for this installation
GET/api/v1/tenants/{tid}/panel-addressThe panel's public address: set with -public-url (flag), by the setup wizard or here (setting), or none (ADR 0133)
PUT/api/v1/tenants/{tid}/panel-addressSet the panel's public address after install; empty clears it (ADR 0133)
GET/api/v1/tenants/{tid}/panel-certificateThe panel's own certificate (ADR 0064); provider administrators on the root tenant only
PUT/api/v1/tenants/{tid}/panel-certificateSet the panel's name; in ACME mode a certificate for it is issued at once; audited
POST/api/v1/tenants/{tid}/panel-certificate/issue 202Use Let's Encrypt (the configured ACME CA) and issue now, even after a recent failure; audited
POST/api/v1/tenants/{tid}/panel-certificate/uploadUse an uploaded certificate: a PFX (base64) with its password, or the chain and key as PEM. It must cover the panel's name; audited
GET/api/v1/tenants/{tid}/panel-clockThe panel's own clock against trusted time (ADR 0060)
GET/api/v1/tenants/{tid}/panel-logsA redacted page of the panel's own log; the provider's administrators only (ADR 0077)
GET/api/v1/tenants/{tid}/panel-updateThe panel's own updates: installed release, what the feed offers (version, severity, signed notes), the policy and the current update (ADR 0145)
POST/api/v1/tenants/{tid}/panel-update/apply 202Install the offered release: a panel.update job for the broker on the panel's own machine, which runs zopanel-setup update -feed detached (backup, switch, health check, rollback on failure). The panel restarts; the outcome is read back when it is up
POST/api/v1/tenants/{tid}/panel-update/checkRead the feed now; the manifest and notes must carry a trusted release signature (PANEL_UPDATE_CHECK_FAILED, PANEL_UPDATE_OFFLINE). A newer release seen first raises update.available
PUT/api/v1/tenants/{tid}/panel-update/settingsFeed, channel, offline mode, what installs by itself and in which window, and the agents' rollout after an update (ADR 0145)
POST/api/v1/tenants/{tid}/support-bundlesMake a diagnostics bundle with secrets taken out, kept 24 hours (ADR 0052, 0153); provider administrators only. Each server's logs, services, IIS/HTTP.sys errors and Event Log entries come through its broker (support.collect, agent protocol 2; an older agent gives its agent and broker logs only). Servers are read side by side, each within about 40 seconds of its own; a server whose agent was not heard from for 5 minutes is left out at once. Past 20 seconds the answer is 202 with an operation (ADR 0132), whose body is this 201 when done
GET/api/v1/tenants/{tid}/support-bundles/{id}Download a diagnostics bundle

Agent channel (internal) 15

POST/api/v1/agent/auth-failuresFailed sign-ins this agent's server saw (FTP, MailEnable, SQL Server) and the state of its log readers; answers which sources to read (ADR 0066)
POST/api/v1/agent/enrollRegister an agent with a one-time token
POST/api/v1/agent/ftpThe FTP service and accounts this agent's server should serve; reports the SFTP host key (ADR 0040)
GET/api/v1/agent/handoffs/{id}A secret a job names, for this agent's server, once (ADR 0038)
POST/api/v1/agent/jobs/claimLease the next job; 204 when none. Signed agent request
POST/api/v1/agent/jobs/{id}/completeRecord success. Signed agent request
POST/api/v1/agent/jobs/{id}/failRecord failure. Signed agent request
POST/api/v1/agent/jobs/{id}/heartbeatExtend a lease. Signed agent request
PUT/api/v1/agent/jobs/{id}/logA chunk of a running build's log, at an offset (agent only, signed over its digest)
POST/api/v1/agent/metricsOne minute of the server's and its sites' load (ADR 0036)
GET/api/v1/agent/release/{name}One file of the release the panel runs, by its name in the signed manifest, for an agent update (ADR 0046)
GET/api/v1/agent/sites/{id}/envThe variables a deployment names, for the server hosting the site
GET/api/v1/agent/uploads/{id}Fetch an upload addressed to this agent's server
PUT/api/v1/agent/uploads/{id}Send a file for a pending download, signed over its SHA-256
POST/api/v1/agent/waf-eventsEvents this agent's server firewall wrote (ADR 0106); events of sites not on the server are dropped