dh42 Posted January 28, 2021 Share Posted January 28, 2021 I am having an issue trying to get all of the customer accounts from my shop via the api. I have an api account set up with a profile that allows all permissions to the api user. When I send over a request to Getusers I get this returned. result=error;message=Invalid Permissions: API action "getusers" is not allowed I cannot figure out why, other api methods like Getclients work, but getusers does not. whmcs version 7.8.3 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted January 31, 2021 Share Posted January 31, 2021 On 28/01/2021 at 18:00, dh42 said: I cannot figure out why, other api methods like Getclients work, but getusers does not. users would only apply to v8 or later... if you're still on v7.8, then clients are what you should be looking for and so getclients is what you should be using. https://github.com/WHMCS/developer-docs/blob/master/api-reference/getclients.md 0 Quote Link to comment Share on other sites More sharing options...
dh42 Posted January 31, 2021 Author Share Posted January 31, 2021 That is what I settled with in the end. It was just confusing since I assume the docs are wrong, they say getusers has been available since v1. https://developers.whmcs.com/api-reference/getusers/ 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted February 1, 2021 Share Posted February 1, 2021 20 hours ago, dh42 said: That is what I settled with in the end. It was just confusing since I assume the docs are wrong, they say getusers has been available since v1. https://developers.whmcs.com/api-reference/getusers/ I think it's more a case of that's v1 of that API code... though I can see the inconsistency because if an old API is updated or deprecated for v8, then it's version number gets moved to 8.0 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.