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

# List Channels

> Retorna todos os canais da empresa.



## OpenAPI

````yaml GET /channels
openapi: 3.0.0
info:
  title: API Manybot
  description: ''
  version: v1.0.0
  contact: {}
servers:
  - url: https://api-v2.manybot.com.br
security:
  - bearer: []
tags: []
paths:
  /channels:
    get:
      tags:
        - Channels
      summary: List channels
      description: Retorna todos os canais da empresa.
      operationId: ChannelsController_findAllByCompany
      parameters: []
      responses:
        '200':
          description: Lista de canais retornada com sucesso
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ChannelResponseDTO'
        '401':
          description: Não autorizado
          content:
            application/json:
              schema:
                type: object
                properties:
                  statusCode:
                    type: number
                    example: 401
                  message:
                    type: string
                    example: Unauthorized
components:
  schemas:
    ChannelResponseDTO:
      type: object
      properties:
        id:
          type: string
          description: ID único do canal
          example: clh1234567890
        name:
          type: string
          description: Nome do canal
          example: Canal WhatsApp Principal
        companyId:
          type: string
          description: ID da empresa proprietária do canal
          example: clh9876543210
        connectionStatus:
          type: string
          description: Status da conexão do canal
          example: connected
          enum:
            - open
            - close
            - connecting
            - refused
            - qrcode_limit_scan
        type:
          type: string
          description: Tipo do canal
          example: whatsapp
          enum:
            - whatsapp
            - telegram
            - instagram
        createdAt:
          format: date-time
          type: string
          description: Data de criação do canal
          example: '2024-01-15T10:30:00Z'
        phone:
          type: string
          description: Número do telefone conectado
          example: '+5511999999999'
        qrcode:
          description: QR Code para conexão
          allOf:
            - $ref: '#/components/schemas/QrCodeInterface'
        paircode:
          type: string
          description: Código de pareamento
          example: ABC123XYZ
      required:
        - id
        - companyId
        - connectionStatus
        - type
        - createdAt
    QrCodeInterface:
      type: object
      properties:
        base64:
          type: string
          description: QR Code em base64
          example: iVBORw0KGgoAAAANSUhEUgAA...
      required:
        - base64
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: 'Token JWT da sua conta. Use o formato: Bearer {seu-jwt-token}'

````