Check if Access Token (Authentication token) is valid or not

api
authentication

#1

I’m using Orchestrator APIs to generate access token and further using the same to authenticate other APIs.
In order to maintain stability and call validity, I need to check if the token is valid before making API calls.
How can I check if my token is valid?


#2

Hey @ankitSinha

There is no such dedicated API available to validate authorization token.
So you have to check with the Authenticate Api and based on returned response you can identify that your token is expired or not.

Well as per my knowledge it is by default valid for 60 minutes until and unless you will not change in server setting.

Regards…!!
Aksh