---
updatedAt: 2026-05-28T08:16:45.000Z
agentTools:
  projectIndex: https://docs.scalr.io/llms.txt
---

# List Slack channels

Get a list of channels from associated Slack workspace.

# OpenAPI definition

```json
{
  "components": {
    "schemas": {
      "SlackChannel": {
        "properties": {
          "id": {
            "type": "string"
          },
          "is-private": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "is-private",
          "name"
        ],
        "type": "object"
      },
      "SlackChannelFieldsetsListingDocument": {
        "description": "Document Listing.",
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/SlackChannel"
            },
            "type": "array"
          },
          "included": {
            "items": {
              "type": "object"
            },
            "readOnly": true,
            "type": "array"
          },
          "links": {
            "additionalProperties": {
              "type": "string"
            },
            "readOnly": true,
            "type": "object"
          },
          "meta": {
            "readOnly": true,
            "type": "object"
          }
        },
        "type": "object"
      }
    },
    "securitySchemes": {
      "API-Key": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "description": "Scalr IACP API",
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0"
    },
    "title": "Scalr IACP API",
    "version": "unversioned"
  },
  "openapi": "3.0.0",
  "paths": {
    "/integrations/slack/{account}/connection/channels": {
      "get": {
        "description": "Get a list of channels from associated Slack workspace.",
        "operationId": "list_slack_channels",
        "parameters": [
          {
            "description": "The ID of the account.",
            "in": "path",
            "name": "account",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The search string. Supports search by channel name.",
            "in": "query",
            "name": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Invalidate cache for the request",
            "in": "query",
            "name": "ignore_cache",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Page number",
            "in": "query",
            "name": "page[number]",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Page size",
            "in": "query",
            "name": "page[size]",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "default": {
                    "value": "{\n  \"data\": [\n    {\n      \"id\": \"CJRTY8PIY\",\n      \"is-private\": false,\n      \"name\": \"channel-name-1\"\n    },\n    {\n      \"id\": \"CUE7PQTKU\",\n      \"is-private\": false,\n      \"name\": \"channel-name-2\"\n    },\n    {\n      \"id\": \"CJHNTDCYH\",\n      \"is-private\": false,\n      \"name\": \"channel-name-3\"\n    }\n  ],\n  \"included\": null,\n  \"links\": {\n    \"first\": \"https://my.scalr.io/api/iacp/v3/integrations/slack/acc-svrcncgh453bi8g/connection/channels?page%5Bnumber%5D=1&page%5Bsize%5D=20\",\n    \"last\": \"https://my.scalr.io/api/iacp/v3/integrations/slack/acc-svrcncgh453bi8g/connection/channels?page%5Bnumber%5D=2&page%5Bsize%5D=20\",\n    \"next\": \"https://my.scalr.io/api/iacp/v3/integrations/slack/acc-svrcncgh453bi8g/connection/channels?page%5Bnumber%5D=2&page%5Bsize%5D=20\",\n    \"prev\": null,\n    \"self\": \"https://my.scalr.io/api/iacp/v3/integrations/slack/acc-svrcncgh453bi8g/connection/channels?page%5Bnumber%5D=1&page%5Bsize%5D=20\"\n  },\n  \"meta\": {\n    \"pagination\": {\n      \"current-page\": 1,\n      \"next-page\": 2,\n      \"prev-page\": null,\n      \"total-count\": 3,\n      \"total-pages\": 2\n    }\n  }\n}"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/SlackChannelFieldsetsListingDocument"
                }
              }
            },
            "description": "Success."
          },
          "403": {
            "description": "User unauthorized to perform this action."
          },
          "404": {
            "description": "Account or connection not found or user unauthorized to perform action."
          },
          "4XX": {
            "description": "Client error."
          },
          "5XX": {
            "description": "Server error."
          }
        },
        "summary": "List Slack channels",
        "tags": [
          "slack-connections"
        ],
        "x-resource": "SlackConnection",
        "x-service": "tf-api"
      }
    }
  },
  "security": [
    {
      "API-Key": []
    }
  ],
  "servers": [
    {
      "url": "https://{Domain}/api/iacp/v3",
      "variables": {
        "Domain": {
          "default": "example.scalr.io",
          "description": "Domain where Scalr is hosted"
        }
      }
    }
  ]
}
```

# Sibling pages

* [Delete Slack connection](https://docs.scalr.io/scalr/reference/delete_slack_connection.md)
* [Get Slack connection](https://docs.scalr.io/scalr/reference/get_slack_connection.md)
* [Get Slack channel](https://docs.scalr.io/scalr/reference/get_slack_channel.md)