---
title: "List Slack channel IDs where the given playbook is set as the context"
method: POST
path: "/textql.rpc.public.playbook.PlaybookService/ListSlackChannelsForContextPlaybook"
tags: ["PlaybookService"]
---

# List Slack channel IDs where the given playbook is set as the context

`POST /textql.rpc.public.playbook.PlaybookService/ListSlackChannelsForContextPlaybook`

List Slack channel IDs where the given playbook is set as the context

## Headers

- `Connect-Protocol-Version` 1, required — Define the version of the Connect protocol
- `Connect-Timeout-Ms` number — Define the timeout, in ms

## Request body

- TextqlRpcPublicPlaybookListSlackChannelsForContextPlaybookRequest — Lists Slack channel IDs that have this playbook set as the context playbook.
  - `playbookId` string — UUID

## Response `200`

Success

- TextqlRpcPublicPlaybookListSlackChannelsForContextPlaybookResponse
  - `slackChannelIds` string[] — e.g., ["C123", "C456"]

## Other responses

- `default` — Error

---

[API](https://skmtc.net/textql/apis/textql-rpc-platform.md) · [All operations](https://skmtc.net/textql/apis/textql-rpc-platform/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/textql/textql-rpc-platform/versions/31ce2b0c4427/schema)
