WHM API.
Download OpenAPI description
Overview
URL
WebPros International, LLC
License
Languages
Servers
Mock server
https://api.docs.cpanel.net/_mock/specifications/whm.openapi/
A server running WHM.
https://{host}:{port}/json-api/
- Mock server
https://api.docs.cpanel.net/_mock/specifications/whm.openapi/start_autossl_check_for_all_users
- A server running WHM.
https://whm-server.tld:2087/json-api/start_autossl_check_for_all_users
- CLI
- URL
- curl
- JavaScript
- Node.js
- Python
- Java
- Java8+Apache
- C#
- C#+Newtonsoft
- PHP
- Go
- Ruby
- R
whmapi1 --output=jsonpretty \
start_autossl_check_for_all_usersResponse
application/json
{ "data": { "pid": 29193 }, "metadata": { "command": "start_autossl_check_for_all_users", "reason": "OK", "result": 1, "version": 1 } }
- Mock server
https://api.docs.cpanel.net/_mock/specifications/whm.openapi/start_autossl_check_for_one_user
- A server running WHM.
https://whm-server.tld:2087/json-api/start_autossl_check_for_one_user
- CLI
- URL
- curl
- JavaScript
- Node.js
- Python
- Java
- Java8+Apache
- C#
- C#+Newtonsoft
- PHP
- Go
- Ruby
- R
whmapi1 --output=jsonpretty \
start_autossl_check_for_one_user \
username='example'Response
application/json
{ "data": { "pid": 12345 }, "metadata": { "command": "start_autossl_check_for_one_user", "reason": "OK", "result": 1, "version": 1 } }