Skip to main content
GET
/
auth
/
session
Session data
curl --request GET \
  --url https://api.obselite.com/v0/auth/session \
  --header 'Authorization: Bearer <token>'
{
  "isAuthenticated": true,
  "redirect": "<string>",
  "user": {
    "timeZone": "AFRICA_ABIDJAN",
    "colorKey": "AMBER",
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "cuid": "<string>",
    "name": "<string>",
    "displayName": "<string>",
    "title": "<string>",
    "username": "<string>",
    "bio": "<string>",
    "email": "[email protected]",
    "phone": "<string>",
    "daysOff": [
      "<string>"
    ],
    "hoursPerDay": 12,
    "color": "<string>",
    "bannerFileId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "avatarFileId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "isEnabled": true,
    "createdAt": "<string>",
    "updatedAt": "<string>",
    "lockedAt": "<string>",
    "deletedAt": "<string>",
    "lastLoggedIn": "<string>"
  },
  "organization": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>"
  }
}

Authorizations

Authorization
string
header
required

The API token generated from the Obselite dashboard

Response

Successful response

isAuthenticated
boolean
required
redirect
string | null
required
user
object
organization
object