We have api endpoints to generate session token using “/v0.5/sessions”. What is best practice to make sure that token is valid for the current duration?
Should we keep track of it using expiresIn
property that we get or should be generate token each time we need access token (not a best practice i think) or is there any API through which we can validate the token?