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
Authorizations
The clientId
used for API authentication.
The clientSecret
used for API authentication.
Body
application/json
Payload containing the `refreshToken` received from OTPLESS authentication.
The body is of type object
.
Response
200
application/json
The user's information was successfully retrieved.
The response is of type object
.