How to get authentication key and token?

Updated on: July 21, 2018


Authentication Token and key is required for API integration. LogiNext API uses Basic Authentication to provide you an authorized access.

If you are exploring the integration your system LogiNext system, then you can get the authentication token and key by CALLING the API URL – https://api.loginextsolutions.com/LoginApp/login/authenticate

You will have to pass the username and password as the input to this API. The username and password is provided to you either by LogiNext system (in case of auto sign-up) or by your assigned Account Manager in case of manual sign-up.

The response of this API will contain a session token and a client secret key, which is unique in relation to every specific customer.

If you want session to be valid for 1 Hour, then the “sessionExpiryTimeout” should be 1.

Similarly for – 

24 Hours, it should be 24 

6 months, it should be 180* 24 = 4320

12 Months, it should be 365*24= 8760

5 Years, it should be 365*5*24 = 43800

10 Years, it should be 365*10*24= 87600

If you do not provide ‘sessionExpiryTimeout’, the validity of this session token will be 1 day (24 hours).

Please ensure that you add the token and secret key as part of every LogiNext API call.

Login to leave your feedback!

administrator