General API Information and Usage
This is the documentation for the LiveZilla API V2 included from
5.2.5.x. Please read the contents of this page carefully.
Unlike other (RESTful) APIs, the LiveZilla API is solely based on
POST and
JSON. We do not make use of GET, PUT, DELETE or custom HEADER calls and statements to ensure highest availability - even on shared hosting platforms with limited configuration options.
LiveZilla V2 API calls must be HTTP POST requests targeting:
http(s)://{yourdomain}/livezilla/api/v2/api.php
Authentication and Security
All API calls must include the POST parameters
p_user and
p_pass to authenticate against the LiveZilla server.
Any LiveZilla operator login information can be used for API call. Permission for API calls must be granted under:
User Management -> Roles -> Role -> API
For security reasons it's recommended practice to:
- Use HTTPS for all connections to your server
- Configure your LiveZilla to require HTTPS (Server Configuration -> Security -> Require HTTPS)
- Configure an IP Range for your Operator (API) accounts (User Management -> Operators -> Operator -> Security)
Required Authentication Parameters
These POST parameters must be passed with every API Call.
Name |
POST Key |
Type |
Required |
Comment |
Example |
User | p_user | string | Yes | API Authentication User | administrator |
Pass | p_pass | string | Yes | API Authentication Password (md5 encoded) | md5('password') |
Optional Parameters
These optional POST parameters can be passed with every API Call.
Name |
POST Key |
Type |
Required |
Comment |
Example |
JSON_Pretty | p_json_pretty | int | No | Activates PHP JSON Pretty Print output | 1 |