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

# Post v1cases



## OpenAPI

````yaml /openapi.json post /v1/cases
openapi: 3.1.0
info:
  title: Lighthouse API
  description: Lighthouse funeral home management API
  license:
    name: ''
  version: 1.0.0
servers:
  - url: https://api.lighthousefh.com
    description: Production
security:
  - bearer_auth: []
tags:
  - name: Health
    description: Health check endpoints
  - name: Cases
    description: Case management
  - name: Calls
    description: Call recordings and transcriptions
  - name: Clips
    description: Short audio clips and transcripts
  - name: Users
    description: User management
  - name: Organizations
    description: Organization management
  - name: Locations
    description: Location management
  - name: Case Data
    description: Custom case data values
  - name: Case Data Fields
    description: Custom case data field definitions
  - name: Generations
    description: User-sourced generation overrides
  - name: Generation Templates
    description: AI generation templates
  - name: Generation Feedback
    description: End-user feedback on generations
  - name: Generation Labels
    description: Generation quality labels
  - name: Generation Quality Test
    description: Generation quality testing
  - name: Generation Template Dependencies
    description: Template dependency management
  - name: Organization Template Status
    description: Organization-level template status
  - name: Score Instructions
    description: Score instructions for generation templates
  - name: Tasks
    description: Case tasks
  - name: Conversations
    description: Assistant chat conversations
  - name: User Preferences
    description: User preference settings
  - name: User Managers
    description: User-manager relationships
  - name: User Permissions
    description: User permission management
  - name: Roleplay Categories
    description: Roleplay category (skill) catalog
  - name: Roleplay Complications
    description: Roleplay complications catalog
  - name: Roleplay Personas
    description: Roleplay persona catalog
  - name: Roleplay Phases
    description: Roleplay phase catalog
  - name: Roleplay Runs
    description: Completed roleplay runs
  - name: Roleplay Scenarios
    description: Roleplay scenarios
  - name: Roleplay Voices
    description: Roleplay voice catalog
  - name: Scenario Score Templates
    description: Scenario scoring template attachments
paths:
  /v1/cases:
    post:
      tags:
        - Cases
      operationId: create_case
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateCaseRequest'
        required: true
      responses:
        '201':
          description: Case created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse_Case'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      security:
        - bearer_auth: []
components:
  schemas:
    CreateCaseRequest:
      type: object
      properties:
        external_id:
          type:
            - string
            - 'null'
        first_name:
          type:
            - string
            - 'null'
        is_test:
          type:
            - boolean
            - 'null'
        last_name:
          type:
            - string
            - 'null'
        location_uuid:
          type:
            - string
            - 'null'
          format: uuid
    ApiResponse_Case:
      type: object
      required:
        - status
        - timestamp
      properties:
        data:
          type: object
          required:
            - uuid
            - created_at
            - updated_at
            - organization_uuid
            - created_by
            - is_test
          properties:
            created_at:
              type: string
              format: date-time
            created_by:
              type: string
              format: uuid
            date_of_birth:
              type:
                - string
                - 'null'
              format: date
              description: >-
                Backwards-compat: column dropped 2026-04-30; always returns
                null.
            date_of_death:
              type:
                - string
                - 'null'
              format: date
              description: >-
                Backwards-compat: column dropped 2026-04-30; always returns
                null.
            date_of_service:
              type:
                - string
                - 'null'
              format: date
              description: >-
                Backwards-compat: column dropped 2026-04-30; always returns
                null.
            deleted_at:
              type:
                - string
                - 'null'
              format: date-time
            deleted_by:
              type:
                - string
                - 'null'
              format: uuid
            external_id:
              type:
                - string
                - 'null'
            first_name:
              type:
                - string
                - 'null'
            is_test:
              type: boolean
            last_name:
              type:
                - string
                - 'null'
            location_uuid:
              type:
                - string
                - 'null'
              format: uuid
            organization_uuid:
              type: string
              format: uuid
            summary:
              type: string
              description: |-
                Backwards-compat: old mobile clients expect this field.
                The column was dropped in 2026-03-19; always returns "".
            updated_at:
              type: string
              format: date-time
            uuid:
              type: string
              format: uuid
        message:
          type:
            - string
            - 'null'
        request_id:
          type:
            - string
            - 'null'
        status:
          type: string
        timestamp:
          type: string
          format: date-time
    ApiError:
      type: object
      required:
        - status
        - error
        - message
        - status_code
        - timestamp
      properties:
        error:
          type: string
        message:
          type: string
        request_id:
          type:
            - string
            - 'null'
        status:
          type: string
        status_code:
          type: integer
          format: int32
          minimum: 0
        timestamp:
          type: string
          format: date-time
  securitySchemes:
    bearer_auth:
      type: http
      scheme: bearer

````