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

# Canales

> Listar los canales de WhatsApp e Instagram conectados a tu organización.

# Canales

Devuelve los canales conectados (WhatsApp e Instagram) de la organización. Los tokens de acceso no se exponen — solo datos de identificación seguros.

<RequestExample>
  ```http theme={null}
  GET https://app.chatnorris.ai/api/v2/channels
  Authorization: Bearer <tu_api_key>
  ```
</RequestExample>

**Scope requerido:** `channels:read`

***

## Respuesta

```json theme={null}
{
  "status": "success",
  "data": {
    "channels": [
      {
        "id": "ch_abc123",
        "type": "whatsapp",
        "status": "active",
        "chatbot_id": "bot_xyz789",
        "config_display": {
          "display_phone_number": "+54 9 11 1234-5678",
          "verified_name": "Acme Corp"
        },
        "created_at": "2025-05-10T12:00:00.000Z"
      },
      {
        "id": "ch_def456",
        "type": "instagram",
        "status": "active",
        "chatbot_id": "bot_xyz789",
        "config_display": {
          "ig_username": "acmecorp",
          "page_name": "Acme Corp Oficial"
        },
        "created_at": "2025-08-20T09:00:00.000Z"
      }
    ]
  }
}
```

### Campos de respuesta

| Campo                                 | Tipo   | Descripción                                      |
| ------------------------------------- | ------ | ------------------------------------------------ |
| `id`                                  | string | ID único del canal                               |
| `type`                                | string | Tipo: `whatsapp` o `instagram`                   |
| `status`                              | string | Estado: `active` o `inactive`                    |
| `chatbot_id`                          | string | ID del agente asignado al canal                  |
| `config_display`                      | object | Datos públicos del canal (sin tokens)            |
| `config_display.display_phone_number` | string | Número de teléfono (solo WhatsApp)               |
| `config_display.verified_name`        | string | Nombre verificado en Meta (solo WhatsApp)        |
| `config_display.ig_username`          | string | Usuario de Instagram (solo Instagram)            |
| `config_display.page_name`            | string | Nombre de la página de Facebook (solo Instagram) |
| `created_at`                          | string | Fecha de conexión (ISO 8601)                     |
