Skip to main content
GET
SDK (@phosra/sdk)
Returns the identity behind the current credential — whether you authenticated with a WorkOS session token or a developer API key. Call it first to confirm your token is wired correctly.
See the Authentication guide for how to obtain a token.

Authorizations

Authorization
string
header
required

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

Response

Current user

id
string<uuid>

Unique identifier for this resource.

email
string<email>

Email address.

name
string

Human-readable display name.

created_at
string<date-time>

RFC 3339 timestamp of when the resource was created.