Skip to main content

Retrieves information about the currently logged-on user and their sessions

GET 

/account/me

Includes information about the users data and sessions, organization entitlements and quotas.

Request

Responses

Returns 'AuthInfo'

Schema

    userId integerrequired

    The user id of the authenticated user.

    email stringrequired

    The email address of the authenticated user.

    firstName string

    The first name of the authenticated user.

    lastName string

    The last name of the authenticated user.

    authType stringrequired

    The authentication method configured for the current user.

    Example: LOCAL_PASSWORD
    tokenExpiresAt date-timerequired

    The expiry timestamp of the current token.

    Example: ISO8601 UTC datetime
    tenantFeatures string[]

    A list of features enabled for this tenant

    sessions

    object[]

    required

    The currently open sessions associated with this user.

  • Array [

  • id integer

    Internal session id. Not a token.

    tenant string

    The tenant the session token is associated with.

    agent string

    The user agent used for login.

    geo string

    Approximate geographic location of the session login.

    loginAt string

    The login timestamp of the current token.

    Example: ISO8601 UTC datetime
  • ]

Loading...