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

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# List private channels

> List private Slack channels accessible to the installed bot.

`listPrivateChannels` lists private channels that the installed bot can access.
It does not reveal private channels the bot has not joined or otherwise been
granted access to.

## Example

```ts automations/list-private-channels.automation.ts theme={null}
import { automation } from "automate.ax"
import { listPrivateChannels } from "automate.ax/slack"

export default automation("List private Slack channels", () => {
  listPrivateChannels({ excludeArchived: true, limit: 50 })
})
```

## Inputs

| Input             | Type                                             | Required | Default         | Description                                   |
| ----------------- | ------------------------------------------------ | -------- | --------------- | --------------------------------------------- |
| `cursor`          | `string`                                         | No       | First page      | Opaque cursor returned by the preceding page. |
| `limit`           | `number`                                         | No       | Slack default   | Requested page size from 1 to 200.            |
| `excludeArchived` | `boolean`                                        | No       | Slack default   | Excludes archived channels when true.         |
| `account`         | `string \| IntegrationAccountReference<"slack">` | No       | Project default | Slack workspace binding.                      |

## Output

Returns a signal with `conversations: SlackConversation[]` and
`responseMetadata.nextCursor`. Conversation records include the stable `id`,
name, visibility and membership flags, and available topic, purpose, creator,
creation, and member-count metadata.
