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

# /v1/users/@me

> This endpoint retrieves the authenticated users information.



## OpenAPI

````yaml GET /v1/users/@me
openapi: 3.1.0
info:
  title: CamposCloud API Documentation
  description: >-
    This documentation provides an overview of the CamposCloud API, including
    authentication, endpoints, and data structures. It is designed to help
    developers integrate with the CamposCloud platform effectively.
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.camposcloud.com
security:
  - bearerAuth: []
paths:
  /v1/users/@me:
    get:
      description: Returns the user information for the authenticated user
      responses:
        '200':
          description: User response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/User'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    User:
      required:
        - _id
        - name
        - isEmail2FAEnabled
        - hasClaimedFreePlan
      type: object
      properties:
        _id:
          description: The unique identifier of the user
          type: string
          example: 60c72b2f9b1e8d001c8e4f3a
        name:
          description: The user name
          type: string
          example: John Doe
        isEmail2FAEnabled:
          description: Indicates if the user has enabled email two-factor authentication
          type: boolean
          example: true
        hasClaimedFreePlan:
          description: Indicates if the user has claimed the free plan
          type: boolean
          example: false
        activeSessions:
          description: List of active sessions for the user
          type: array
          items:
            type: string
          example:
            - id: 60c72b2f9b1e8d001c8e4f3b
              device: Desktop
              ip: 192.168.0.101
              browser: Chrome
              lastActive: '2025-07-18T23:49:19.701Z'
    Error:
      required:
        - error
        - message
      type: object
      properties:
        error:
          type: string
          example: Not found
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````