Session Management APIs
Get New Session Token
Fetches a new sessionToken
using the refreshToken
provided by OTPLESS. The sessionToken
is a short lived token that must be replaced by a new token when the current token expires. refreshToken
has a longer expiry and is used to create a new sessionToken
till the refreshToken
is valid. This server-to-server call requires the clientId
and clientSecret
.
POST
/
v1
/
sessions
/
get-new-session-token
Authorizations
The clientId
used for API authentication.
The clientSecret
used for API authentication.
Body
application/json
The token used to refresh the session.
Was this page helpful?