UAPI accesses the cPanel interface's features. Use this API to access and modify cPanel account data and settings.
https://api.docs.cpanel.net/_mock/specifications/cpanel.openapi/
https://{host}:{port}/execute/
- Mock server
https://api.docs.cpanel.net/_mock/specifications/cpanel.openapi/Branding/get_available_applications
- A server running cPanel.
https://cpanel-server.tld:2083/execute/Branding/get_available_applications
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
-u <username>:<password> \
'https://api.docs.cpanel.net/_mock/specifications/cpanel.openapi/Branding/get_available_applications?nvarglist=pref%2Csoftware%2Cdomains'{ "apiversion": 3, "func": "get_available_applications", "module": "Branding", "result": { "data": { … }, "errors": null, "messages": null, "metadata": {}, "status": 1, "warnings": null } }
The absolute path to the directory containing the sitemap.json file. This is the path to your theme's document root.
A comma-separated list of Appkey names. If you do not specify this parameter, the output will include all of the applications that the sitemap.json file contains.
Note:
This value must match an application's key value in the sitemap.json file. For more information, read our Guide to cPanel Interface Customization - Appkeys documentation.
- Mock server
https://api.docs.cpanel.net/_mock/specifications/cpanel.openapi/Branding/get_information_for_applications
- A server running cPanel.
https://cpanel-server.tld:2083/execute/Branding/get_information_for_applications
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
-u <username>:<password> \
'https://api.docs.cpanel.net/_mock/specifications/cpanel.openapi/Branding/get_information_for_applications?docroot=%2Fusr%2Flocal%2Fcpanel%2Fbase%2Fwebmail%2Fjupiter&app_keys=email_filters'{ "apiversion": 3, "func": "get_information_for_applications", "module": "Branding", "result": { "data": { … }, "errors": null, "messages": null, "metadata": {}, "status": 1, "warnings": null } }