Skip to main content
GET
/
oauth
/
userinfo
User Info
curl --request GET \
  --url https://api.casexchange.com/api/v1/oauth/userinfo \
  --header 'Authorization: Bearer <token>'
{
  "sub": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "email": "[email protected]",
  "email_verified": true,
  "given_name": "<string>",
  "family_name": "<string>",
  "firmId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "firmName": "<string>",
  "scope": "<string>"
}
Retrieve user identity claims for an OAuth access token. Returns user profile information based on the scopes granted during authorization. Use this endpoint to hydrate user profiles in your application after completing the authorization code flow.

Authorizations

Authorization
string
header
required

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

Response

User claims

sub
string<uuid>

Subject identifier (user ID)

email
string<email>
email_verified
boolean
given_name
string
family_name
string
firmId
string<uuid>
firmName
string
scope
string