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

# Channels

> Listar números de WhatsApp conectados.

## GET /channels

Devuelve todos los números de WhatsApp conectados a tu cuenta.

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

### Request

```bash theme={null}
curl https://api.waspytech.com/api/v2/channels \
  -H "Authorization: Bearer wspy_..."
```

### Response `200`

```json theme={null}
{
  "data": [
    {
      "id": "channel-uuid",
      "phoneNumber": "+5491155654076",
      "displayName": "Mi Tienda",
      "phoneNumberId": "947831321756793",
      "wabaId": "3778403832302005",
      "qualityRating": "GREEN",
      "status": "connected",
      "webhookVerified": true
    }
  ],
  "meta": { "requestId": "..." }
}
```

### Campos

| Campo             | Tipo          | Descripción                                             |
| ----------------- | ------------- | ------------------------------------------------------- |
| `id`              | string (UUID) | ID interno del canal. Usalo en `POST /messages`         |
| `phoneNumber`     | string        | Número con código de país                               |
| `displayName`     | string        | Nombre visible en WhatsApp                              |
| `phoneNumberId`   | string        | ID del número en Meta                                   |
| `wabaId`          | string        | ID de la cuenta de WhatsApp Business en Meta            |
| `qualityRating`   | string        | Calidad del número según Meta: `GREEN`, `YELLOW`, `RED` |
| `status`          | string        | Estado de conexión: `connected`, `disconnected`         |
| `webhookVerified` | boolean       | Si el webhook de Meta está verificado                   |

<Info>
  El campo `id` es el que necesitás para enviar mensajes con `POST /messages`. No confundirlo con `phoneNumberId` (que es el ID de Meta).
</Info>
