---
title: "Channels & phone numbers"
description: "List connected channels and inspect phone number status with @wazapin/sdk."
---

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

# Channels & phone numbers

Find your `channel_id` for sends, check connection health, and troubleshoot a linked WhatsApp number with `wazapin.channels`.

## List channels

```ts
const { data } = await wazapin.channels.list({ limit: 20 });

for (const channel of data.items) {
  console.log(channel.id);
}
```

## Iterate all channels

```ts
for await (const channel of wazapin.channels.listPaginated({ limit: 50 })) {
  console.log(channel.id);
}
```

## Get one channel

```ts
const channel = await wazapin.channels.get("wzp_ch_123");
```

## Check channel status

```ts
const status = await wazapin.channels.status("wzp_ch_123");
```

## Setup helpers

The SDK also exposes channel setup helpers for workspaces that need them:

```ts
await wazapin.channels.connect("wzp_ch_123");
const qr = await wazapin.channels.getQr("wzp_ch_123");
const health = await wazapin.channels.phoneHealth("wzp_ch_123");
```

Source: https://docs.wazapin.id/sdk/channels-phone-numbers/index.mdx
