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/Market/get_providers_list
- A server running cPanel.
https://cpanel-server.tld:2083/execute/Market/get_providers_list
- 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/Market/get_providers_list{ "apiversion": 3, "func": "get_providers_list", "module": "Market", "result": { "data": [ … ], "errors": null, "messages": null, "metadata": { … }, "status": 1, "warnings": null } }
The ID of the ordered item.
Note:
To set the status for multiple items, duplicate or increment the parameter name. For example, to change the status for three certificates, use the order_item_id parameter multiple times or use the order_item_id-1, order_item_id-2, and order_item_id-3 parameters.
- Mock server
https://api.docs.cpanel.net/_mock/specifications/cpanel.openapi/Market/set_status_of_pending_queue_items
- A server running cPanel.
https://cpanel-server.tld:2083/execute/Market/set_status_of_pending_queue_items
- 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/Market/set_status_of_pending_queue_items?order_item_id=string&provider=cPStore&status=confirmed'{ "apiversion": 3, "func": "set_status_of_pending_queue_items", "module": "Market", "result": { "data": { … }, "errors": [ … ], "messages": null, "metadata": {}, "status": 0, "warnings": null } }
- Mock server
https://api.docs.cpanel.net/_mock/specifications/cpanel.openapi/Market/set_url_after_checkout
- A server running cPanel.
https://cpanel-server.tld:2083/execute/Market/set_url_after_checkout
- 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/Market/set_url_after_checkout?access_token=725431a1-d5bc-11e5-a28b-8b0e09a93f05&order_id=123456&provider=cPStore&url_after_checkout=http%3A%2F%2Fcheckout.example.com'{ "apiversion": 3, "func": "set_url_after_checkout", "module": "Market", "result": { "data": { … }, "errors": null, "messages": null, "metadata": {}, "status": 1, "warnings": null } }