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

# Set/clear the org's HITL approval-UX lines



## OpenAPI

````yaml /api-reference/openapi.json put /v1/hitl/approval-messages
openapi: 3.1.0
info:
  title: Feather API
  description: >-
    Unified customer experience platform API. Manages identity, conversations,
    memory, agents, procedures, policies, model routing, knowledge bases,
    integrations, and runtime execution.
  version: 1.21.0
servers:
  - url: https://api-sandbox.featherhq.com
    description: Sandbox
  - url: http://localhost:8000
    description: Local dev
security: []
paths:
  /v1/hitl/approval-messages:
    put:
      tags:
        - hitl
      summary: Set/clear the org's HITL approval-UX lines
      operationId: set_approval_messages_v1_hitl_approval_messages_put
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApprovalMessagesUpdate'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApprovalMessagesResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    ApprovalMessagesUpdate:
      properties:
        holding_line:
          anyOf:
            - type: string
              maxLength: 2000
            - type: 'null'
          title: Holding Line
        waiting_reply:
          anyOf:
            - type: string
              maxLength: 2000
            - type: 'null'
          title: Waiting Reply
      additionalProperties: false
      type: object
      required:
        - holding_line
        - waiting_reply
      title: ApprovalMessagesUpdate
      description: >-
        Set or clear the org's two HITL approval-UX lines (full-replace, PUT
        semantics).


        Both fields are REQUIRED but nullable, so a full-replace can't silently
        wipe a line by

        omission: a non-blank string SETS that line; ``null`` (or blank) CLEARS
        it back to the code

        default; an OMITTED field is a 422 (send the complete desired state,
        both keys present).
    ApprovalMessagesResponse:
      properties:
        holding_line:
          type: string
          title: Holding Line
        waiting_reply:
          type: string
          title: Waiting Reply
      type: object
      required:
        - holding_line
        - waiting_reply
      title: ApprovalMessagesResponse
      description: >-
        The org's two HITL approval-UX lines, RESOLVED (org value or code
        default).


        Both are always concrete strings: when the org hasn't configured a line,
        the resolved

        code default is surfaced so the UI shows exactly what an end-user will
        see. To revert a

        line to its default, PUT ``null`` for that field.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: x-api-key

````