# Get User

GET /users/me

#### Description

Retrieves the stored profile information for the requesting user, including details such as name, email, and organization membership.

Endpoint: GET /me
Version: 1.0
Security: oauth2

## Query parameters:

  - `expand` (string)
    Comma separated list of fields to expand. Supported values: identityProviders, organizations.

## Response 200 fields (application/json):

  - `id` (string)
    The unique identifier of the user
    Example: "82d7c228-8bcd-11e9-a94b-ab3de8494987"

  - `email` (string)
    The email address of the user
    Example: "john.smith@example.com"

  - `givenName` (string)
    The given name of the user
    Example: "John"

  - `surname` (string)
    The surname of the user
    Example: "Smith"

  - `language` (string)
    The language preference of the user
    Example: "en"

  - `locale` (string)
    The locale preference of the user
    Example: "US"

  - `timeZone` (string)
    The time zone preference of the user
    Example: "America/Los_Angeles"

  - `title` (string)
    The title of the user
    Example: "Compliance Manager"

  - `profilePhotoName` (string)
    The file name of the user's profile photo

  - `identityProviders` (array)
    The list of identity providers for the user. Only populated when expanded
    Example: ["google.com","okta.com"]

  - `lastLogin` (string)
    The date and time of the user's last login (ISO-8601 format)
    Example: "2023-05-12T14:16:27.41766Z"

  - `state` (string)
    The authentication and lifecycle state of a user's global identity across all organizations.
    Enum: "pending", "valid", "not_invited", "disabled", "erased"

  - `verifiedOn` (string)
    The date the user was verified (ISO-8601 format)
    Example: "2023-05-12T14:16:27.41766Z"

  - `termsAcceptedOn` (string)
    The date the terms were accepted (ISO-8601 format)
    Example: "2023-05-12T14:16:27.41766Z"

  - `lastPasswordReset` (string)
    The date and time the user's password was last reset (ISO-8601 format)
    Example: "2024-01-15T09:30:00.00000Z"

  - `organizations` (array)
    The organizations the user belongs to. Only populated when expanded
    Example: [{"id":"ce83e3cd-5199-11ee-a644-522476618ae8","name":"Acme Corp"}]

  - `organizations.id` (string)
    The unique identifier of the organization.
    Example: "ce83e3cd-5199-11ee-a644-522476618ae8"

  - `organizations.name` (string)
    The name of the organization.
    Example: "Acme Corp"


