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

# Get authenticated user

> Returns the account owning the token — not wrapped in `status`/`data`,
the fields come back directly at the top level. Read-only: user data
can only be changed directly in the Lojou dashboard, there is no
write endpoint for it in the API.




## OpenAPI

````yaml /openapi.yaml get /v1/user
openapi: 3.1.0
info:
  title: Lojou API
  version: 1.0.0
  description: |
    Official reference for the Lojou `/v1` API — everything a developer needs
    to create products, process orders, manage plans, and receive webhooks
    from a Lojou store.
servers:
  - url: https://api.lojou.app
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Health
  - name: OAuth
  - name: User
  - name: Products
  - name: Plans
  - name: Orders
  - name: Customers
  - name: Files
  - name: Webhooks
  - name: Discounts
  - name: Affiliates
paths:
  /v1/user:
    get:
      tags:
        - User
      summary: Get authenticated user
      description: |
        Returns the account owning the token — not wrapped in `status`/`data`,
        the fields come back directly at the top level. Read-only: user data
        can only be changed directly in the Lojou dashboard, there is no
        write endpoint for it in the API.
      operationId: getV1User
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  firstname:
                    type: string
                  lastname:
                    type: string
                    nullable: true
                  email:
                    type: string
                  mobile_number:
                    type: string
                    nullable: true
                  avatar_url:
                    type: string
                    nullable: true
                  country:
                    type: string
                    nullable: true
                  street:
                    type: string
                    nullable: true
                  zip_code:
                    type: string
                    nullable: true
                  currency:
                    type: string
                    nullable: true
                  language:
                    type: string
                  status:
                    type: string
                  created_at:
                    type: string
                    format: date-time
                  is_verified:
                    type: boolean
              example:
                firstname: Aisha
                lastname: Momade
                email: aisha@example.com
                mobile_number: '+258841234567'
                avatar_url: https://cdn.lojou.app/lojou/stores/files/954/avatar.jpg
                country: mozambique
                street: null
                zip_code: null
                currency: MZN
                language: pt
                status: active
                created_at: '2026-01-15T09:30:00.000000Z'
                is_verified: true
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '403':
          $ref: '#/components/responses/ForbiddenError'
components:
  responses:
    UnauthorizedError:
      description: Unauthorized
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            status: error
            message: Unauthorized user.
    ForbiddenError:
      description: Forbidden
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            status: error
            message: Permission denied for this endpoint.
            error_code: insufficient_scope
            required_scopes:
              - orders.read
            missing_scopes:
              - orders.read
            granted_scopes:
              - products.read
              - products.write
  schemas:
    ErrorResponse:
      type: object
      properties:
        status:
          type: string
          example: error
        message:
          type: string
      additionalProperties: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: |
        Send an API key or an OAuth access token in the `Authorization` header
        as a Bearer token. See [Authentication](/authentication) for details.

````