Skip to main content
GET
Get current user information

Authorizations

Authorization
string
header
required

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

Response

User information retrieved successfully

user_id
string
required

Unique user identifier

Example:

"user_123"

email
string<email>
required

User's email address

Example:

"user@example.com"

organizations
object[]
required

Every organization the user belongs to, with their roles.

name
string

User's display name

Example:

"John Doe"

roles
string[]

Roles in the active organization (present only when a single organization is in scope).

Example:
active_organization
object

The organization this session is scoped to. Present when the user belongs to exactly one organization; absent when they belong to several and none is selected yet.

issued_at
integer<int64>

Token issue timestamp (Unix epoch)

expires_at
integer<int64>

Token expiration timestamp (Unix epoch)