cURL
curl --request GET \ --url https://api.gleap.io/v3/users/me \ --header 'Authorization: Bearer <token>'
{ "createdAt": "<string>", "updatedAt": "<string>", "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 } }, "_id": { "isValid": {}, "createFromHexString": {}, "createFromTime": {}, "generate": {}, "cacheHexString": "<unknown>" }, "email": "<string>", "code": "<string>", "userType": "default", "identityProvider": { "providerId": "<string>", "userId": "<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": "<unknown>" }, "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": { "preventNotificationsWhereICreator": true, "directlySendNotifications": true, "sendEmailOnlyWhenOffline": true } }
Get current user.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Ok
Generic types for Document:
Show child attributes
default
sso
service_account