Skip to content

Check session

GET
/api/auth/session

Returns whether the current session cookie is valid, with user info if authenticated.

Responses

Session status

application/json
JSON
{
  
"authenticated": true,
  
"isAdmin": true,
  
"label": "string",
  
"apiKeyId": "string"
}

Samples