GET
/
users
/
me
curl --request GET \
  --url https://api.gleap.io/v3/users/me \
  --header 'Authorization: Bearer <token>'
{
  "_id": {
    "isValid": {},
    "createFromHexString": {},
    "createFromTime": {},
    "generate": {},
    "cacheHexString": "<any>",
    "prototype": "<string>"
  },
  "createdAt": "<string>",
  "email": "<string>",
  "updatedAt": "<string>",
  "code": "<string>",
  "password": "<string>",
  "firstName": "<string>",
  "lastName": "<string>",
  "profileImageUrl": "<string>",
  "lastSeen": "2023-11-07T05:31:56Z",
  "lastAutoAssign": "2023-11-07T05:31:56Z",
  "available": true,
  "unavailableProjects": [
    "<string>"
  ],
  "services": {
    "default": "<any>"
  },
  "isServiceAccount": true,
  "serviceAccountApiToken": "<string>",
  "confirmed": true,
  "referral": "<string>",
  "codeCreatedAt": "2023-11-07T05:31:56Z",
  "otp": "<string>",
  "otpCreatedAt": "2023-11-07T05:31:56Z",
  "userRole": "<string>",
  "knewGleapFrom": "<string>",
  "userUsage": "<string>",
  "utm_source": "<string>",
  "utm_medium": "<string>",
  "utm_term": "<string>",
  "utm_content": "<string>",
  "utm_campaign": "<string>",
  "completedOnboarding": true,
  "onboardingFlow": "<string>",
  "mastercardUser": true,
  "fcmTokens": [
    "<string>"
  ],
  "twoFactorAuthentication": {
    "methods": {
      "webAuthn": [
        {
          "counter": 123,
          "publicKey": "<string>",
          "credentialID": "<string>",
          "name": "<string>"
        }
      ]
    },
    "currentWebAuthnChallenge": "<string>",
    "isEnabled": true
  },
  "notificationSettings": {
    "directlySendNotifications": true,
    "sendEmailOnlyWhenOffline": true
  },
  "notificationPreferences": {
    "all-ticket-messages": {
      "push": true,
      "inApp": true,
      "email": true
    },
    "all-sla-breached": {
      "push": true,
      "inApp": true,
      "email": true
    },
    "personal-ticket-messages": {
      "push": true,
      "inApp": true,
      "email": true
    },
    "all-created-tickets": {
      "push": true,
      "inApp": true,
      "email": true
    },
    "personal-assignment": {
      "push": true,
      "inApp": true,
      "email": true
    },
    "personal-mention": {
      "push": true,
      "inApp": true,
      "email": true
    },
    "team-ticket-messages": {
      "push": true,
      "inApp": true,
      "email": true
    },
    "team-ticket-assignment": {
      "push": true,
      "inApp": true,
      "email": true
    }
  }
}

Authorizations

Authorization
string
header
required

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

Response

200 - application/json

Ok

From T, pick a set of properties whose keys are in the union K