Skip to main content
GET
/
auth
/
me
Current User
curl --request GET \
  --url https://api.casexchange.com/api/v1/auth/me \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "email": "[email protected]",
    "firstName": "<string>",
    "lastName": "<string>",
    "role": "<string>",
    "firmId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "firm": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "caseStatusSubscriber": true
    },
    "isActive": true,
    "lastLogin": "2023-11-07T05:31:56Z",
    "createdAt": "2023-11-07T05:31:56Z"
  }
}
Retrieve the profile of the currently authenticated user. Use this endpoint immediately after login to confirm context, roles, and firm associations. Also helpful for session dashboards or debugging token scopes.

Authorizations

Authorization
string
header
required

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

Response

User profile

success
boolean
data
object