AndrewH.
- Total activity 73
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 31
Comments
Recent activity by AndrewH.-
If you have already authenticated and generated your security token the API calls should just work. Use the API shell in either WHM or cPanel to see what the urls generated for API calls are but i...
-
To expand on why you are having issues, use "Backups" not "backups" Good /json-api/cpanel?cpanel_jsonapi_apiversion=2&cpanel_jsonapi_module=Backups&cpanel_jsonapi_func=listfullbackups {"cpanelres...
-
WHM only has API 0 / 1, cPanel has API 1/2/UAPI. If you are trying to create a cPanel account that can only be done via WHM, and thus you must use the appropriate API calls. The following is a li...
-
Here is the docs on NVData::Get
-
Try the call exactly as you had it before, just swap cpanel_xmlapi_user=root to cpanel_xmlapi_user=someuser. You will still be authenticated as root but this just lets the API know to perform the ...
-
You should be able to access all cPanel API's via the 'cpanel' call with WHM API. That said, the user 'root' is probably not a cPanel user on your box. Try it out with one of the users with a val...
-
Looks like what you want is to make a custom WHM API 1 function. Unfortunately we do not have full modular support for 3rd party API development in WHM like we do in cPanel. That said, if you wa...
-
I tried running a similar command on my development box and got this response devserver:2083/execute/Email/add_forwarder?email=reseller%40reseller.tld&fwdopt=pipe&pipefwd=echo {"messages":null,"e...
-
You are using the "xmlapi" call but passing "cpanel_jsonapi" arguments. The API unfortunately does not know how to parse this properly. If you want XML, use "xmlapi" and "cpanel_xmlapi" according...
-
Actually after some testing internally it might be a bug. UAPI is technically API version 3, and as such you can pass in this and it actually makes an attempt to make the correct call. Unfortunat...