zahed Posted May 20, 2018 Share Posted May 20, 2018 hi everyone i need disable complately API IP Access Restriction . i want everyone with identifier and secret connect to my whmcs . 0 Quote Link to comment Share on other sites More sharing options...
WHMCS ChrisD Posted May 21, 2018 Share Posted May 21, 2018 Hello @zahed Thanks for your post on the WHMCS.Community per our documentation located at https://developers.whmcs.com/api/access-control/ Access to the API by default is restricted by IP. For situations where IP access control is not feasible, an Access Key can also be configured. Configuring An Access Key Alternatively an access key can be configured to allow IP restrictions to be bypassed. It works by defining a secret key/passphrase in the WHMCS configuration.php file which is then passed into all API calls. To configure it, add a line as follows to your configuration.php file in the root WHMCS directory. $api_access_key = 'secret_key_passphrase_goes_here'; Following the introduction of an API Access Key, you can then include it in your API requests as follows: ?action=xxxx&username=xxx&password=xxx&accesskey=secret_key_passphrase_goes_here 0 Quote Link to comment Share on other sites More sharing options...
zahed Posted May 27, 2018 Author Share Posted May 27, 2018 hi i do that . but not work . add secret key in configuration.php but request not work 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.