---
title: "Set Selected Channels"
method: PUT
path: "/api/v1/notifications/slack/{installation_id}/channels"
---

# Set Selected Channels

`PUT /api/v1/notifications/slack/{installation_id}/channels`

Replace selected notification channels for an installation.

## Path parameters

- `installation_id` integer, required

## Headers

- `authorization` string, nullable

## Cookies

- `modaic_session` string, nullable

## Request body

- SetNotificationChannelsRequest
  - `installationId` integer, required
  - `channels` SlackChannel[], required
    - `id` string, required
    - `name` string, required
    - `is_private` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/modaic-ai/apis/modaic-api.md) · [All operations](https://skmtc.dev/modaic-ai/apis/modaic-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/modaic-ai/modaic-api/revisions/43a90513ac59/schema)
