Session Management APIs
Validate User Session
This API is used to validate a user session by exchanging the sessionToken
obtained from the otpless after successful authentication. 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 `sessionToken` received from otpless authentication and client credentials for verification.
The unique identifier of the session.
Response
200
application/json
The user's information was successfully retrieved.
A boolean value indicating whether session is valid. True
indicates session is valid and false
indicates session is invalid.
Example:
true
Was this page helpful?