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

# Transfer Call

> Transfer an active call to another phone number.

Cold transfer: caller connected to new number, agent disconnected.
Warm transfer: three-way call (caller + agent + target), agent drops when ready.



## OpenAPI

````yaml /openapi.json post /api/sessions/{session_id}/transfer
openapi: 3.1.0
info:
  title: Nenyax API
  description: Backend API for Nenyax Voice Agent Platform
  version: 0.1.0
servers:
  - url: http://localhost:8000
    description: Local development
security: []
paths:
  /api/sessions/{session_id}/transfer:
    post:
      tags:
        - Sessions
      summary: Transfer Call
      description: >-
        Transfer an active call to another phone number.


        Cold transfer: caller connected to new number, agent disconnected.

        Warm transfer: three-way call (caller + agent + target), agent drops
        when ready.
      operationId: transfer_call_api_sessions__session_id__transfer_post
      parameters:
        - name: session_id
          in: path
          required: true
          schema:
            type: string
            title: Session Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TransferRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransferResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    TransferRequest:
      properties:
        phone_number:
          type: string
          title: Phone Number
        type:
          $ref: '#/components/schemas/TransferType'
      type: object
      required:
        - phone_number
        - type
      title: TransferRequest
    TransferResponse:
      properties:
        session_id:
          type: string
          title: Session Id
        transfer_type:
          $ref: '#/components/schemas/TransferType'
        transferred_to:
          type: string
          title: Transferred To
        status:
          type: string
          title: Status
        message:
          type: string
          title: Message
      type: object
      required:
        - session_id
        - transfer_type
        - transferred_to
        - status
        - message
      title: TransferResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    TransferType:
      type: string
      enum:
        - WARM
        - COLD
      title: TransferType
    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

````