SDK (@phosra/sdk)
Authentication
Get current user
Get current user
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
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.