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

> Enable or disable autopilot for a channel — Turn autopilot on or off for a specific channel.

# Enable or disable autopilot for a channel



## OpenAPI

````yaml put /autopilot
openapi: 3.1.0
info:
  title: OpenCX API
  description: >

    OpenCX is an AI-powered, all-in-one platform for customer support and
    outbound communications.


    Use this API to manage your OpenCX organization's AI agents, actions,
    conversations, contacts, and more.


    To get started, generate a new API key from the dashboard.


    ## Authentication

    All API endpoints require authentication using a Bearer token. You can
    generate an API key from your OpenCX dashboard.


    ## Rate Limiting

    API requests are rate limited to ensure fair usage. The current limits are:

    - 100 requests per minute for standard endpoints

    - 1000 requests per minute for streaming endpoints


    ## Error Handling

    The API uses standard HTTP status codes and returns detailed error messages
    in the response body.
  version: 1.0-beta
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
servers:
  - url: https://api.open.cx
    description: Production
security:
  - bearerAuth: []
paths:
  /autopilot:
    put:
      summary: Enable or disable autopilot for a channel
      description: >-
        Turn autopilot on or off for a specific channel. When disabled, the AI
        will not automatically respond on that channel — conversations go
        directly to human agents.
      operationId: updateAutopilotStatus
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateAutopilotInputDto'
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AutopilotStatusResponseDto'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDto'
components:
  schemas:
    UpdateAutopilotInputDto:
      $schema: https://json-schema.org/draft/2020-12/schema
      $id: '#/components/schemas/UpdateAutopilotInputDtoInput'
      type: object
      properties:
        channel:
          type: string
          enum:
            - web
            - email
            - phone
            - whatsapp
            - slack
            - sms
            - instagram
            - messenger
            - api
            - web_voice
          description: >-
            Channel to update: web, email, phone, whatsapp, slack, sms,
            instagram, messenger, api, web_voice
        autopilot_enabled:
          type: boolean
          description: Set true to enable autopilot, false to disable
        ai_agent_version:
          description: AI agent version to use for this channel
          type: string
          enum:
            - v1
            - v2
      required:
        - channel
        - autopilot_enabled
    AutopilotStatusResponseDto:
      $schema: https://json-schema.org/draft/2020-12/schema
      $id: '#/components/schemas/AutopilotStatusResponseDto'
      type: object
      properties:
        channels:
          type: array
          items:
            type: object
            properties:
              channel:
                type: string
                description: Channel name
              autopilot_enabled:
                type: boolean
                description: Whether the AI autopilot is enabled on this channel
              ai_agent_version:
                type: string
                enum:
                  - v1
                  - v2
                description: AI agent version used on this channel
            required:
              - channel
              - autopilot_enabled
              - ai_agent_version
            additionalProperties: false
      required:
        - channels
      additionalProperties: false
    ErrorDto:
      type: object
      properties:
        statusCode:
          type: integer
        message:
          type: string
        error:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````