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

# Get claim by ID

> Returns a single claim with full detail including insurance info. Requires read:claims scope.



## OpenAPI

````yaml /openapi-v2.json get /claims/{id}
openapi: 3.0.0
info:
  title: Max AI Public API
  description: API for third-party marketplace apps
  version: '2.0'
  contact: {}
servers:
  - url: https://api.maxcare.ai/v2
security: []
tags: []
paths:
  /claims/{id}:
    get:
      tags:
        - Claims
      summary: Get claim by ID
      description: >-
        Returns a single claim with full detail including insurance info.
        Requires read:claims scope.
      operationId: ClaimsPublicController_getClaim
      parameters:
        - name: id
          required: true
          in: path
          description: Claim ID
          schema:
            type: string
        - name: X-Organization-Id
          in: header
          required: true
          schema:
            type: string
          description: Target clinic organization ID
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetClaimSuccessResponse'
        '400':
          description: Missing or invalid request parameter
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiBadRequestResponse'
        '401':
          description: Invalid or missing API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiUnauthorizedResponse'
        '403':
          description: Insufficient scope
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiForbiddenResponse'
        '404':
          description: Resource not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiNotFoundResponse'
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiRateLimitResponse'
      security:
        - api-key: []
components:
  schemas:
    GetClaimSuccessResponse:
      type: object
      properties:
        code:
          type: string
          description: Response code
          example: success
        data:
          $ref: '#/components/schemas/ExternalClaimDetailResponse'
      required:
        - code
        - data
    PublicApiBadRequestResponse:
      type: object
      properties:
        code:
          type: string
          description: Error code
          example: bad_request
        message:
          type: string
          description: Human-readable error message
          example: '''id'' must be a valid UUID'
        trace_id:
          type: string
          description: Trace ID for debugging
          example: 550e8400-e29b-41d4-a716-446655440000
      required:
        - code
        - message
        - trace_id
    PublicApiUnauthorizedResponse:
      type: object
      properties:
        code:
          type: string
          description: Error code
          example: unauthorized
        message:
          type: string
          description: Human-readable error message
          example: Invalid or missing API key
        trace_id:
          type: string
          description: Trace ID for debugging
          example: 550e8400-e29b-41d4-a716-446655440000
      required:
        - code
        - message
        - trace_id
    PublicApiForbiddenResponse:
      type: object
      properties:
        code:
          type: string
          description: Error code
          example: forbidden
        message:
          type: string
          description: Human-readable error message
          example: Insufficient scope
        trace_id:
          type: string
          description: Trace ID for debugging
          example: 550e8400-e29b-41d4-a716-446655440000
      required:
        - code
        - message
        - trace_id
    PublicApiNotFoundResponse:
      type: object
      properties:
        code:
          type: string
          description: Error code
          example: not_found
        message:
          type: string
          description: Human-readable error message
          example: Resource not found
        trace_id:
          type: string
          description: Trace ID for debugging
          example: 550e8400-e29b-41d4-a716-446655440000
      required:
        - code
        - message
        - trace_id
    PublicApiRateLimitResponse:
      type: object
      properties:
        code:
          type: string
          description: Error code
          example: rate_limit_exceeded
        message:
          type: string
          description: Human-readable error message
          example: Rate limit exceeded. Maximum 1000 requests per 60 seconds.
        trace_id:
          type: string
          description: Trace ID for debugging
          example: 550e8400-e29b-41d4-a716-446655440000
      required:
        - code
        - message
        - trace_id
    ExternalClaimDetailResponse:
      type: object
      properties:
        id:
          type: string
          description: Claim unique identifier
          example: c9d0e1f2-a3b4-4c5d-6e7f-8a9b0c1d2e3f
        claimAmount:
          type: string
          description: Claim amount
          example: '450.00'
        balance:
          type: string
          description: Remaining balance
          nullable: true
          example: '120.00'
        claimStatus:
          type: string
          description: Claim status
          example: accepted
        submittedDate:
          type: string
          description: Submitted date
          nullable: true
          example: '2025-01-16'
        claimCreatedDate:
          type: string
          description: Claim creation date
          nullable: true
          example: '2025-01-15'
        billId:
          type: string
          description: Associated bill ID
          nullable: true
          example: 9a8b7c6d-5e4f-3a2b-1c0d-e9f8a7b6c5d4
        dateOfService:
          type: string
          description: Date of service
          nullable: true
          example: '2025-01-15'
        billHumanId:
          type: string
          description: Bill human-readable ID
          nullable: true
          example: BILL-78432
        patientId:
          type: string
          description: Patient ID
          nullable: true
          example: c56103bc-d39c-46d3-9f31-38dd2b5e05f6
        patientFirstName:
          type: string
          description: Patient first name
          nullable: true
          example: Sarah
        patientLastName:
          type: string
          description: Patient last name
          nullable: true
          example: Johnson
        patientDob:
          type: string
          description: Patient date of birth
          nullable: true
          example: '1985-03-15'
        primaryProviderName:
          type: string
          description: Primary provider name
          nullable: true
          example: Dr. James Wilson
        billUnderName:
          type: string
          description: Bill-under provider name
          nullable: true
          example: Dr. James Wilson
        facilityId:
          type: string
          description: Facility ID
          nullable: true
          example: b2c3d4e5-f6a7-4b8c-9d0e-1f2a3b4c5d6e
        facilityName:
          type: string
          description: Facility name
          nullable: true
          example: West LA Dermatology
        specialty:
          type: string
          description: Specialty
          nullable: true
          example: Dermatology
        primaryInsurance:
          type: string
          description: Primary insurance name
          nullable: true
          example: Blue Cross Blue Shield
        secondaryInsurance:
          type: string
          description: Secondary insurance name
          nullable: true
          example: null
        createdAt:
          type: string
          description: Created timestamp
          example: '2025-01-15T09:30:00.000Z'
        updatedAt:
          type: string
          description: Last updated timestamp
          example: '2025-01-20T14:22:00.000Z'
        primaryProviderId:
          type: string
          description: Primary provider ID
          nullable: true
          example: d4e5f6a7-b8c9-4d0e-1f2a-3b4c5d6e7f8a
        billUnderId:
          type: string
          description: Bill-under provider ID
          nullable: true
          example: d4e5f6a7-b8c9-4d0e-1f2a-3b4c5d6e7f8a
        cliaNumber:
          type: string
          description: CLIA number
          nullable: true
          example: 05D2081496
        insurance:
          description: Insurance details
          type: array
          items:
            $ref: '#/components/schemas/ExternalInsuranceResponse'
      required:
        - id
        - claimAmount
        - balance
        - claimStatus
        - submittedDate
        - claimCreatedDate
        - billId
        - dateOfService
        - billHumanId
        - patientId
        - patientFirstName
        - patientLastName
        - patientDob
        - primaryProviderName
        - billUnderName
        - facilityId
        - facilityName
        - specialty
        - primaryInsurance
        - secondaryInsurance
        - createdAt
        - updatedAt
        - primaryProviderId
        - billUnderId
        - cliaNumber
        - insurance
    ExternalInsuranceResponse:
      type: object
      properties:
        payerName:
          type: string
          description: Payer name
          example: Blue Cross Blue Shield
        planName:
          type: string
          description: Plan name
          example: PPO Gold
        policyType:
          type: string
          description: Policy type
          nullable: true
          example: PPO
        isPrimary:
          type: boolean
          description: Whether this is the primary insurance
          example: true
        memberId:
          type: string
          description: Member ID
          nullable: true
          example: XYZ123456789
        groupNumber:
          type: string
          description: Group number
          nullable: true
          example: GRP-98765
        policyNumber:
          type: string
          description: Policy number
          nullable: true
          example: POL-2025-001234
        subscriberName:
          type: string
          description: Subscriber name
          nullable: true
          example: Sarah Johnson
        copayAmount:
          type: string
          description: Copay amount
          nullable: true
          example: '30.00'
        deductibleRemaining:
          type: string
          description: Deductible remaining
          nullable: true
          example: '1500.00'
      required:
        - payerName
        - planName
        - policyType
        - isPrimary
        - memberId
        - groupNumber
        - policyNumber
        - subscriberName
        - copayAmount
        - deductibleRemaining
  securitySchemes:
    api-key:
      scheme: bearer
      bearerFormat: JWT
      type: http
      description: Marketplace API key

````