---
title: "search channels"
method: POST
path: "/instances/{id}/client/action/search-channels"
tags: ["channel"]
---

# search channels

`POST /instances/{id}/client/action/search-channels`

Search for channels

## Path parameters

- `id` integer, required

## Request body

- object
  - `countryCodes` string[] — Optional array of ISO 3166-1 alpha-2 country codes to filter channels
  - `searchText` string — Optional text to search for in channel names/descriptions
  - `view` 'RECOMMENDED' | 'TRENDING' | 'POPULAR' | 'NEW' — View type for results filtering
  - `limit` integer — Maximum number of results to return
  - `skipSubscribedNewsletters` boolean — Whether to skip already subscribed newsletters in results

## Response `200`

Returns matching channels

- object
  - `status` string
  - `instanceId` string
  - `data` object[]
    - `id` object
      - `server` string
      - `user` string
      - `_serialized` string
    - `labels` string[]
    - `t` integer
    - `unreadCount` integer
    - `name` string
    - `channelMetadata` object
      - `id` object
        - `server` string
        - `user` string
        - `_serialized` string
      - `creationTime` integer
      - `name` string
      - `description` string
      - `size` integer
      - `verified` boolean

## Other responses

- `401` — Unauthorized — invalid or missing bearer token
- `403` — Forbidden — insufficient permissions or account blocked
- `404` — Not found — instance does not exist or does not belong to you
- `409` — Conflict — instance is not ready
- `422` — Validation error — invalid or missing request parameters
- `429` — Too many requests — rate limit exceeded

---

[API](https://skmtc.net/waapi/apis/waapi-api.md) · [All operations](https://skmtc.net/waapi/apis/waapi-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/waapi/waapi-api/versions/1e2cc7c12090/schema)
