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
.
💡 About Get New Session Token API
💡 About Get New Session Token API
Creates a new sessionToken
when the old sessionToken
expires using the refreshToken
issued by OTPLESS on successful authentication.
Authorizations
The clientId
used for API authentication.
The clientSecret
used for API authentication.
Body
Payload containing the refreshToken
received from OTPLESS authentication.
The body is of type object
.
Response
The user's information was successfully retrieved.
The response is of type object
.