---
title: "Configure Slack Channels"
method: POST
path: "/slack/installations/{installation_id}/channels"
tags: ["Slack"]
---

# Configure Slack Channels

`POST /slack/installations/{installation_id}/channels`

## Request

- Base URL: `https://apigcp.trynia.ai/v2`
- URL: `https://apigcp.trynia.ai/v2/slack/installations/{installation_id}/channels`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/nozomio-labs/apis/nia-ai-api/docs/slack/installations/:installation_id/channels/post.ts> (a function with typed inputs; its response is checked against the schema)

Configure which channels to index.

## Path parameters

- `installation_id` string, required

## Request body

- RoutesV2SlackSlackChannelsConfigRequest: Configure which channels to index.
  - `mode` string: 'all' to index all channels, 'selected' to pick specific ones
  - `include_channels` string[], nullable: Channel IDs to include (when mode='selected')
  - `exclude_channels` string[], nullable: Channel IDs to exclude

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-02-28** `7e426dce5dda`: 2 info
  - api tag `Slack` added
  - api tag `Usage` removed
- **2026-02-20** `056a9334ce0b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/nozomio-labs/apis/nia-ai-api/changes/slack/installations/:installation_id/channels/post.md)

---

[API](https://skmtc.dev/nozomio-labs/apis/nia-ai-api.md) - [All operations](https://skmtc.dev/nozomio-labs/apis/nia-ai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nozomio-labs/apis/nia-ai-api/revisions/dbb602a3ef17?raw)
