WHM API.
https://api.docs.cpanel.net/_mock/specifications/whm.openapi/
https://{host}:{port}/json-api/
Request
This function fetches information regarding HTTPS records support. HTTPS records are defined in RFC 9460 and provide service parameters for HTTPS endpoints. For more information, read our HTTPS record documentation.
- Mock server
https://api.docs.cpanel.net/_mock/specifications/whm.openapi/is_https_available
- A server running WHM.
https://whm-server.tld:2087/json-api/is_https_available
- CLI
- URL
- curl
- JavaScript
- Node.js
- Python
- Java
- Java8+Apache
- C#
- C#+Newtonsoft
- PHP
- Go
- Ruby
- R
whmapi1 --output=jsonpretty \
is_https_available{ "data": { "https": 1, "dns_server": "pdns" }, "metadata": { "command": "is_https_available", "reason": "OK", "result": 1, "version": 1 } }
Request
This function fetches information regarding SVCB records support. SVCB records are defined in RFC 9460 and provide service binding and aliasing for arbitrary services. For more information, read our DNS Zone Manager documentation.
- Mock server
https://api.docs.cpanel.net/_mock/specifications/whm.openapi/is_svcb_available
- A server running WHM.
https://whm-server.tld:2087/json-api/is_svcb_available
- CLI
- URL
- curl
- JavaScript
- Node.js
- Python
- Java
- Java8+Apache
- C#
- C#+Newtonsoft
- PHP
- Go
- Ruby
- R
whmapi1 --output=jsonpretty \
is_svcb_available{ "data": { "svcb": 1, "dns_server": "pdns" }, "metadata": { "command": "is_svcb_available", "reason": "OK", "result": 1, "version": 1 } }