> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kintra.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Get the signed-in account

> Returns the account behind the current session with its `id`, `username`, `email`, `status` and `onboarding_status`, the tenants it belongs to under `tenant_users`, and the roles it holds. Returns 401 when the session is not valid.



## OpenAPI

````yaml /openapi/kintra-app.json get /user/me
openapi: 3.0.0
info:
  description: >-
    Tenant portal API for the Kintra loyalty platform. Requests are
    authenticated with an Auth0 bearer token and address a tenant by id in the
    path.
  title: Kintra Portal API
  version: 1.0.0
servers:
  - description: Production environment
    url: https://api.kintra.io/api/v1
security: []
paths:
  /user/me:
    get:
      tags:
        - Account
      summary: Get the signed-in account
      description: >-
        Returns the account behind the current session with its `id`,
        `username`, `email`, `status` and `onboarding_status`, the tenants it
        belongs to under `tenant_users`, and the roles it holds. Returns 401
        when the session is not valid.
      operationId: UserMe
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse_IUserMeResponseDto_'
          description: ''
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse_null_'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse_null_'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse_null_'
          description: User not found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse_null_'
          description: Internal server error
      security:
        - auth0_jwt: []
components:
  schemas:
    ApiResponse_IUserMeResponseDto_:
      additionalProperties: false
      properties:
        data:
          $ref: '#/components/schemas/IUserMeResponseDto'
        errors:
          items:
            properties:
              message:
                type: string
              path:
                type: string
            required:
              - path
              - message
            type: object
          type: array
        message:
          type: string
        success:
          type: boolean
      required:
        - success
      type: object
    ApiResponse_null_:
      additionalProperties: false
      properties:
        data:
          enum:
            - null
          nullable: true
          type: number
        errors:
          items:
            properties:
              message:
                type: string
              path:
                type: string
            required:
              - path
              - message
            type: object
          type: array
        message:
          type: string
        success:
          type: boolean
      required:
        - success
      type: object
    IUserMeResponseDto:
      additionalProperties: false
      description: >-
        Auth0 `GET /user/me` — user summary plus tenants (id, name, slug) and
        roles
      properties:
        auth_provider:
          type: string
        auth_provider_id:
          type: string
        created_at:
          format: date-time
          nullable: true
          type: string
        email:
          type: string
        first_name:
          nullable: true
          type: string
        id:
          type: string
        internal_wallets:
          items:
            $ref: '#/components/schemas/IInternalWalletResponse'
          type: array
        last_name:
          nullable: true
          type: string
        onboarding_status:
          anyOf:
            - $ref: '#/components/schemas/UserOnboardingStatus'
            - type: string
        onboarding_type:
          anyOf:
            - $ref: '#/components/schemas/UserOnboardingType'
            - type: string
          nullable: true
        status:
          type: string
        tenant_users:
          items:
            $ref: '#/components/schemas/IUserTenantDto'
          type: array
        updated_at:
          format: date-time
          nullable: true
          type: string
        username:
          type: string
        users_internal_roles:
          items:
            $ref: '#/components/schemas/IUserInternalRoleDto'
          type: array
      required:
        - id
        - username
        - email
        - auth_provider
        - auth_provider_id
        - status
        - onboarding_status
        - users_internal_roles
        - tenant_users
      type: object
    IInternalWalletResponse:
      additionalProperties: false
      properties:
        address:
          type: string
        created_at:
          format: date-time
          type: string
        deleted_at:
          format: date-time
          nullable: true
          type: string
        id:
          type: string
        label:
          nullable: true
          type: string
        updated_at:
          format: date-time
          type: string
        user_id:
          type: string
        wallet_kind:
          type: string
      required:
        - id
        - address
        - wallet_kind
        - user_id
      type: object
    UserOnboardingStatus:
      enum:
        - initial
        - registered
        - active
      type: string
    UserOnboardingType:
      enum:
        - admin
        - tenant
        - user
      type: string
    IUserTenantDto:
      additionalProperties: false
      properties:
        cohort_metadata: {}
        tenant:
          properties:
            id:
              type: string
            name:
              type: string
            slug:
              type: string
          required:
            - slug
            - name
            - id
          type: object
        users_tenant_roles:
          items:
            $ref: '#/components/schemas/IUserTenantRoleDto'
          type: array
        xp_status:
          nullable: true
          type: string
      required:
        - tenant
        - users_tenant_roles
      type: object
    IUserInternalRoleDto:
      additionalProperties: false
      properties:
        internal_role:
          properties:
            id:
              type: string
            role_name:
              type: string
          required:
            - role_name
            - id
          type: object
      required:
        - internal_role
      type: object
    IUserTenantRoleDto:
      additionalProperties: false
      properties:
        tenant_role:
          properties:
            id:
              type: string
            role_name:
              type: string
          required:
            - role_name
            - id
          type: object
      required:
        - tenant_role
      type: object
  securitySchemes:
    auth0_jwt:
      bearerFormat: JWT
      description: Auth0 access token
      scheme: bearer
      type: http

````