Get the caller's profile

gethttps://api.expiryedge.com/v1/getMe
any role (self only)60/min
Anfrage
curl 'https://api.expiryedge.com/v1/getMe' \
  -H "Authorization: Bearer $EXPIRYEDGE_API_KEY"
Antwort
{
  "id": "u_71bXq",
  "email": "priya.shah@northwinddental.com",
  "firstName": "Priya",
  "lastName": "Shah",
  "displayName": "Priya Shah",
  "role": "admin",
  "user_type": "organization",
  "organization_id": "org_northwind",
  "timezone": "America/Chicago",
  "email_verified": true,
  "createdAt": "2026-09-27T14:05:00.000Z"
}

Returns the user profile document (internal security fields removed). Useful as a connection test.

Rückgabe

200
The caller's profile.
  • idstringschreibgeschützt
  • emailstringschreibgeschützt
    format: email
  • firstNamestring
  • lastNamestring
  • displayNamestring
  • photoURLstring | null
  • avatarstring | null
  • phonestring | null
  • addressany
    Free-form address (string or object).
  • biostring | null
  • timezonestring | null
    IANA timezone.
  • localestring | null
  • rolestringschreibgeschützt
    member is an alias of editor, user of viewer.
    Erlaubtadmineditorviewermemberuser
  • user_typestringschreibgeschützt
    Erlaubtorganizationindividual
  • organization_idstring | nullschreibgeschützt
  • statusstringschreibgeschützt
    active unless set otherwise (for example migrated).
  • email_verifiedbooleanschreibgeschützt
    Absent on legacy accounts (treat as verified).
  • dashboardColumnPrefsobject
  • notificationPrefsobject
  • uiPrefsobject
  • created_atstring
    UTC timestamp, ISO 8601. Every v1 response uses this form, never a raw Firestore Timestamp ({_seconds, _nanoseconds}).
    format: date-time
  • createdAtstring
    UTC timestamp, ISO 8601. Every v1 response uses this form, never a raw Firestore Timestamp ({_seconds, _nanoseconds}).
    format: date-time
  • updated_atstring
    UTC timestamp, ISO 8601. Every v1 response uses this form, never a raw Firestore Timestamp ({_seconds, _nanoseconds}).
    format: date-time

Fehler

401
Missing, expired or invalid bearer token.
404
The record does not exist or is not in your organization.
429
Too many requests for this endpoint from your IP. Wait Retry-After seconds.