GET
/v1/auth/me

Get current signed-in user details

This API Endpoint will return the current user's details. This endpoint requires the user to be signed in and have a valid refreshJwt. The refreshJwt is then used as part of the Authorization Bearer to perform this task.

Endpoint Authentication

Use authorization bearer header with the following format:

Authorization: Bearer \<Project ID:Refresh JWT\>

Try it

/v1/auth/me

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Status codeDescription
200OK
curl -X GET "https://api.descope.com/v1/auth/me" \
  -H "Authorization: Bearer <Project ID:Refresh JWT>"

{
  "loginIds": [
    "string"
  ],
  "userId": "string",
  "name": "string",
  "email": "string",
  "phone": "string",
  "verifiedEmail": true,
  "verifiedPhone": true,
  "roleNames": [
    "string"
  ],
  "userTenants": [
    {
      "tenantId": "string",
      "roleNames": [
        "string"
      ],
      "tenantName": "string"
    }
  ],
  "status": "string",
  "externalIds": [
    "string"
  ],
  "picture": "string",
  "test": false,
  "customAttributes": {},
  "createdTime": 0,
  "TOTP": false,
  "SAML": false,
  "OAuth": {
    "property1": false,
    "property2": false
  },
  "webauthn": true,
  "password": true,
  "ssoAppIds": [
    "string"
  ],
  "givenName": "string",
  "middleName": "string",
  "familyName": "string",
  "editable": true
}

Was this helpful?