Skip to main content
GET
/
v0
/
auth
/
session
Get current session
curl --request GET \
  --url https://api.avidoai.com/v0/auth/session
{
  "user": {
    "id": "<string>",
    "email": "<string>",
    "firstName": "<string>",
    "lastName": "<string>",
    "profilePictureUrl": "<string>",
    "banned": true
  },
  "orgId": "<string>",
  "accessToken": "<string>"
}

Response

Successfully retrieved the current session

The currently authenticated session: user profile, active organization id (nullable for brand-new OAuth sign-ups), and session access token.

user
object
required
orgId
string | null
required
accessToken
string
required