Validate a session using a cookie header or an authorization header.
curl --request GET \ --url https://{tenant_id}.hanko.io/sessions/validate
{ "is_valid": true, "expiration_time": "2023-11-07T05:31:56Z", "user_id": "<string>" }
Indicates whether the session is valid or not
Date-time indicating the expiration of the session
The ID of the user the session is associated with
Was this page helpful?