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

# Get User

> Retrieve a single user by their ID.



## OpenAPI

````yaml /api/openapi.json get /users/{id}/
openapi: 3.1.0
info:
  title: Craft API
  description: Public API for programmatic access to your Craft data.
  version: 1.0.0
servers:
  - url: https://data.craftflow.co/api/v1
    description: Production
security:
  - bearerAuth: []
paths:
  /users/{id}/:
    get:
      tags:
        - Users
      summary: Get User
      description: Retrieve a single user by their ID.
      operationId: getUser
      parameters:
        - name: id
          in: path
          description: The unique identifier of the user.
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: A single user.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/User'
                required:
                  - data
              example:
                data:
                  id: a1b2c3d4-e5f6-7890-abcd-ef1234567890
                  email: jane@example.com
                  first_name: Jane
                  last_name: Smith
                  full_name: Jane Smith
                  is_active: true
                  permissions:
                    - call_center_ai_coach
                    - call_center_ai_record
                  created_at: '2025-06-15T14:30:00Z'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: User not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  detail: Not found.
components:
  schemas:
    User:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Unique identifier for the user.
        email:
          type: string
          format: email
          description: The user's email address.
        first_name:
          type: string
          description: The user's first name.
        last_name:
          type: string
          description: The user's last name.
        full_name:
          type: string
          description: The user's full display name.
        is_active:
          type: boolean
          description: Whether the user is currently active.
        permissions:
          type: array
          items:
            type: string
            enum:
              - ridealong_admin
              - ridealong_coach
              - ridealong_record
              - call_center_ai_admin
              - call_center_ai_coach
              - call_center_ai_record
              - inside_sales_admin
              - inside_sales_rep
          description: Permission codes assigned to the user.
        created_at:
          type: string
          format: date-time
          description: When the user was created (ISO 8601).
      required:
        - id
        - email
        - first_name
        - last_name
        - full_name
        - is_active
        - permissions
        - created_at
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            detail:
              type: string
              description: Human-readable error message.
          required:
            - detail
      required:
        - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Your API key, prefixed with `cf_live_`.

````