> ## 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.

# Relay an operator message on a handed-off conversation

> Persist an OUTBOUND operator message (§6.4.1) then deliver it.

Persists a ``role='assistant'`` ``ConvMessage`` attributed to the relaying
operator (``authored_by='human_operator'`` + ``operator_actor_id``),
soft-claims the handoff if unassigned, then hands the already-persisted row
to the channel delivery adapter (the adapter never mints a new message).



## OpenAPI

````yaml /api-reference/openapi.json post /v1/hitl/handoffs/{handoff_id}/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/handoffs/{handoff_id}/messages:
    post:
      tags:
        - hitl
      summary: Relay an operator message on a handed-off conversation
      description: >-
        Persist an OUTBOUND operator message (§6.4.1) then deliver it.


        Persists a ``role='assistant'`` ``ConvMessage`` attributed to the
        relaying

        operator (``authored_by='human_operator'`` + ``operator_actor_id``),

        soft-claims the handoff if unassigned, then hands the already-persisted
        row

        to the channel delivery adapter (the adapter never mints a new message).
      operationId: relay_handoff_message_v1_hitl_handoffs__handoff_id__messages_post
      parameters:
        - name: handoff_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Handoff Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/HandoffRelayRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HandoffMessageRead'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    HandoffRelayRequest:
      properties:
        content:
          type: string
          minLength: 1
          title: Content
      additionalProperties: false
      type: object
      required:
        - content
      title: HandoffRelayRequest
      description: >-
        Body for the operator-relay mutation (``POST …/messages``).


        The relaying operator's identity comes from auth, not the body — only
        the

        message text the operator wants to send the end-user.
    HandoffMessageRead:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        conversation_id:
          type: string
          format: uuid
          title: Conversation Id
        seq:
          type: integer
          title: Seq
        role:
          type: string
          title: Role
        content:
          anyOf:
            - type: string
            - type: 'null'
          title: Content
        authored_by:
          type: string
          title: Authored By
        operator_actor_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Operator Actor Id
        created_at:
          type: string
          format: date-time
          title: Created At
      additionalProperties: false
      type: object
      required:
        - id
        - conversation_id
        - seq
        - role
        - content
        - authored_by
        - operator_actor_id
        - created_at
      title: HandoffMessageRead
      description: >-
        The persisted operator-relay ``conv_messages`` row (HITL-04 §6.4.1).


        Returned by the relay endpoint so the operator UI can immediately render

        the message it just sent (with its allocated ``seq`` watermark) without
        a

        follow-up poll.
    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

````