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

# User Details Endpoint

> User Details endpoint allows you to retrieve detailed information about a user by providing their unique identifier (hashid). A GET request to this endpoint, along with the necessary authorization, returns key details such as user name, email, date of birth, phone number, and address.



## OpenAPI

````yaml get /accounts/users/{hashid}/
openapi: 3.0.1
info:
  title: Trace Connect API
  version: v1
servers:
  - url: http://localhost:3000/connect/v1
security:
  - Bearer: []
paths:
  /accounts/users/{hashid}/:
    get:
      tags:
        - accounts
      description: A simple ViewSet for viewing and editing accounts.
      operationId: accounts_users_read
      parameters:
        - name: hashid
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/User'
components:
  schemas:
    User:
      type: object
      properties:
        id:
          type: string
        first_name:
          title: First name
          maxLength: 150
          type: string
        last_name:
          title: Last name
          maxLength: 150
          type: string
        email:
          title: Email address
          maxLength: 254
          type: string
          format: email
        dob:
          title: Date Of Birth
          type: string
          format: date
          nullable: true
        phone:
          title: Phone
          type: string
          nullable: true
        address:
          title: Address
          maxLength: 2000
          type: string
          nullable: true
        image:
          title: Photo
          type: string
          format: uri
          nullable: true
          readOnly: true
        updated_email:
          title: Last Updated Email
          maxLength: 254
          type: string
          format: email
          nullable: true
        managing_entitys:
          uniqueItems: true
          type: array
          readOnly: true
          items:
            type: string
        default_entity:
          type: string
        accepted_policy:
          type: string
        policy_accepted:
          title: Policy accepted
          type: string
          readOnly: true
        current_policy:
          title: Current policy
          type: string
          readOnly: true
        language:
          title: Language
          minLength: 1
          type: string
  securitySchemes:
    Bearer:
      type: apiKey
      name: Authorization
      in: header

````