Get current user profile
const url = 'http://localhost:3000/api/v1/me/profile';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:3000/api/v1/me/profile \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”object
User ID
User email
User display name
Phone number
Timezone
Locale
Email notifications enabled
SMS notifications enabled
Push notifications enabled
Marketing emails enabled
User bio
Job title
Department
Location
Created at
Updated at
Last login timestamp
Whether the user is a super admin
Effective roles for the current user
Whether the realm has Entra federation enabled (FM-1087). When true, manual role changes, invites, password resets, user creation and superadmin grant/revoke are governed by Entra mappings instead.
Whether the CURRENT session user is federated (has a linked external identity provider, e.g. Entra). Derived from the users.identityProvider column (FM-1087). Used together with isEntraFederationEnabled to warn a non-federated user signed in on an Entra-enabled realm.
Example
{ "timezone": "UTC", "locale": "en", "emailNotifications": true, "smsNotifications": false, "pushNotifications": true, "marketingEmails": false, "isSuperAdmin": false, "roles": [ "admin" ], "isEntraFederationEnabled": false, "isFederated": false}