---
title: "Get Slack Channels"
method: GET
path: "/api/get_slack_channels"
tags: ["Integrations"]
---

# Get Slack Channels

`GET /api/get_slack_channels`

## Request

- Base URL: `https://app.getdot.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://app.getdot.ai/api/get_slack_channels`
- Auth: one of:
  - API key in header `X-API-KEY`
  - API key in cookie `Authorization`
  - OAuth 2 (password, token URL `/api/auth/token`)

Slack destinations for the caller: channels the bot is in, plus — with
include_dm_users — every workspace member as a DM target.

## Query parameters

- `include_dm_users` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/getdot/apis/dot-api-2.md) · [All operations](https://skmtc.dev/getdot/apis/dot-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/getdot/apis/dot-api-2/revisions/d26fe7163a7f?raw)
