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

# List channels

> List external IM channels with filters and cursor pagination.

`GET /api/v1/forward/channels`

Returns Channel records owned by the authenticated account.

## Headers

| Header          | Required | Description    |
| --------------- | -------- | -------------- |
| `Authorization` | Yes      | `Bearer <PAT>` |

## Query parameters

| Parameter        | Type    | Required | Default | Description                                                 |
| ---------------- | ------- | -------- | ------- | ----------------------------------------------------------- |
| `channel_type`   | string  | No       | -       | Filter by `wechat`, `qq`, `wecom`, `feishu`, or `dingtalk`. |
| `enabled`        | boolean | No       | -       | Filter by manual enable state.                              |
| `binding_status` | string  | No       | -       | Filter by `unbound`, `bound`, or `expired`.                 |
| `identity_id`    | string  | No       | -       | Filter by Forward Identity ID.                              |
| `template_id`    | string  | No       | -       | Filter by Forward Template ID.                              |
| `limit`          | integer | No       | 20      | Items per page. Maximum 100.                                |
| `after_id`       | string  | No       | -       | Cursor for records after the given Channel ID.              |
| `before_id`      | string  | No       | -       | Cursor for records before the given Channel ID.             |

## Example request

```bash theme={null}
curl -s -X GET 'https://api.qoder.com/api/v1/forward/channels?identity_id=idn_019eabc123&limit=20' \
  -H "Authorization: Bearer $QODER_PAT"
```

## Example response

**HTTP 200 OK**

```json theme={null}
{
  "data": [
    {
      "id": "channel_019eabc123",
      "type": "channel",
      "identity_id": "idn_019eabc123",
      "template_id": "tmpl_support",
      "channel_type": "feishu",
      "name": "Support Feishu channel",
      "enabled": true,
      "binding_status": "bound",
      "channel_config": {
        "response_options": {
          "include_tool_calls": false,
          "include_thinking": false
        }
      },
      "created_at": "2026-06-18T10:00:00Z",
      "updated_at": "2026-06-18T10:00:00Z"
    }
  ],
  "first_id": "channel_019eabc123",
  "last_id": "channel_019eabc123",
  "has_more": false
}
```

## Response fields

| Field      | Type         | Description                           |
| ---------- | ------------ | ------------------------------------- |
| `data`     | array        | Channel objects on the current page.  |
| `first_id` | string\|null | ID of the first Channel on this page. |
| `last_id`  | string\|null | ID of the last Channel on this page.  |
| `has_more` | boolean      | Whether more records remain.          |

## Errors

| HTTP | Type                    | Code                       | Trigger                             |
| ---- | ----------------------- | -------------------------- | ----------------------------------- |
| 400  | `invalid_request_error` | `invalid_pagination`       | Pagination parameters are invalid.  |
| 400  | `invalid_request_error` | `channel_type_unsupported` | Channel type filter is unsupported. |
| 401  | `authentication_error`  | `authentication_required`  | PAT invalid or expired.             |

## Notes

* `after_id` and `before_id` are mutually exclusive.
* Channels are returned only inside the caller's account boundary.

## Related

<CardGroup cols={2}>
  <Card title="Create a channel" icon="plus" href="/cloud-agents/api/forward/channels/create" />

  <Card title="Get a channel" icon="file-lines" href="/cloud-agents/api/forward/channels/get" />
</CardGroup>
