WHMCS API commands for login Keys

exlhost

Verified User
Joined
Jan 13, 2017
Messages
240
Location
NL
Dear DA community

Anyone here knows wich API commands the WHMCS API needs acces to
Were setting it up with Login keys and we dont whan to give full admin acces to the API


Thanks
 
Hello,

Since nobody has posted a reply as of yet, I could guess nobody has it. So I can suggest that you try to figure it out on your own and post here your results. The idea is simple:

- add a regular admin's password into WHMCS
- use WHMCS for all possible actions: create account, suspend account, check usage, change password and so on.
- check logs of Directadmin and create a list of used API calls.

Create a login key with the list of found API calls ;)
 
Thanks zEITEr

Sorry for my late reply
The problem in WHMCS was when try to connect the server with an reseller account it says connection failed.
There for it still works and create users to DA automaticly to assigned package's

Ive posted this on WHMCS forum and asked support to fix it

Anyway thanks in advance for your reply
 
Actually I have not seen any issue with WHMCS+Directadmin. The only error I see from time to time is:

Code:
Array(
    [error] => 1
    [text] => Cannot show user
    [details] => You don
    [#39;t have control over that user] => 
)

in
directadmincmd_api_show_user_usage

A reseller account is used (not login keys). Despite that all functions are working fine.
 
Back
Top