Hi Guys,
We are using WHMCS and we would like to be able to show the add on domains created by our users on their accounts.
We have been looking into Return all domains information · cPanel & WHM Developer Portal
And this is working fine, but we feel that it is overkill (and too resource demanding) to pull stats on all users, and loop thorugh them to find the one we need - unfortunatly we cannot add the "&user=xxx" to this request.
So, we would like to get a method of getting all the add on domains for a specific user. We know that a method exist using UAPI, but this requires a user session id for the call to work, an id which we do not have, when the user is only logged into WHMCS.
So is there a way to do this using the WHM API? Suggestions?
Thanks!
We are using WHMCS and we would like to be able to show the add on domains created by our users on their accounts.
We have been looking into Return all domains information · cPanel & WHM Developer Portal
And this is working fine, but we feel that it is overkill (and too resource demanding) to pull stats on all users, and loop thorugh them to find the one we need - unfortunatly we cannot add the "&user=xxx" to this request.
So, we would like to get a method of getting all the add on domains for a specific user. We know that a method exist using UAPI, but this requires a user session id for the call to work, an id which we do not have, when the user is only logged into WHMCS.
So is there a way to do this using the WHM API? Suggestions?
Thanks!
Last edited by a moderator: