Session Management
Validate a session
Validate a session using a session token in a request body.
POST
https://{tenant_id}.hanko.io
/
sessions
/
validate
Body
application/json
session_token
string
requiredThe session token (JWT) to validate
Response
200 - application/json
is_valid
boolean
Indicates whether the session is valid or not
expiration_time
string
Date-time indicating the expiration of the session
user_id
string
The ID of the user the session is associated with
Was this page helpful?