Skip to main content
GET
/
v1
/
auth
/
session
Get Session
curl --request GET \
  --url https://api.example.com/v1/auth/session \
  --header 'Authorization: Bearer <token>'
{
  "session_id": "<string>",
  "user_id": "<string>",
  "workspace_id": "<string>",
  "role": "<string>",
  "scopes": [
    "<string>"
  ],
  "issued_at": "<string>",
  "expires_at": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

Successful Response

session_id
string
required
user_id
string
required
workspace_id
string
required
role
string
required
scopes
string[]
required
issued_at
string
required
expires_at
string
required