Features
API and integrations
Everything the panel does goes through its HTTP API: personal API tokens, the API reference, OpenAPI, webhooks, and the WHMCS / WISECP modules.
On this page
The API
Everything the panel does goes through the HTTP API under https://<panel>/api. Scripts use a personal API token and send it in a header:
Authorization: Bearer lvm_…A token is created under My account → API; it is read-only (GET only) or has full access, and it takes an expiry date. A token acts with its owner's permissions and under the address rules of the owner's role. A token cannot create further tokens, manage webhooks, open a console or use the sign-in routes. The panel stores only the SHA-256 hash of a token.
The API reference
The panel builds its reference from the running code. The /api-docs page lists every route with its method, path, required permission, fields, an example body, example code (cURL, JavaScript, Python) and its error codes, in Turkish and English. It can be searched, filtered to the routes the reader may use, and downloaded as a PDF. There is also an OpenAPI 3.1 document for client generators. Requests cannot be run from the reference page in the browser.
The admin's API settings
Under Settings → API you decide:
- Who may create tokens: everyone, staff only, or nobody.
- The longest life of a token, and whether staff tokens must expire.
- The rate limit: requests per token per minute (600 by default).
- The address blocks every token must come from.
- The request log: method, path, status, duration, address and token, kept for 1 to 365 days (14 by default). Request bodies are never stored.
The tokens of all accounts appear in one list and can be revoked.
Webhooks
Customers define their own webhook address. Deliveries are signed, retried when they fail, and logged; there is a test button. A webhook address must be public HTTPS.
Protection against duplicate requests
Requests that start an operation use the Idempotency-Key header; it is mandatory for a server order. A server has one open operation at a time.
Download my data
The data the panel holds about an account can be downloaded as a single JSON file; the password, sessions and secret keys are left out.
WHMCS and WISECP modules
The integrations/ folder of the repository holds two modules. The other system does the selling; the module creates the server in the panel, suspends it, resizes it and deletes it. An integration maps only the customer accounts it opened itself; an account that already existed with the same e-mail address is linked by staff through the claim route. The WISECP module was not tried on a WISECP installation. integrations/README.md
Other integrations
- Payment providers and e-invoice integrators: Billing and payments.
- E-mail, SMS and chat apps: Notifications.
- PowerDNS for reverse DNS: Network, IP addresses and firewall.
- LDAP and OpenID Connect: Security and identity.
Source: docs/api.md.
Install command
curl -fsSL https://lightningvm.app/install.sh | sudo shUbuntu 22.04 / 24.04 / 26.04. Requirements and options
