> ## Documentation Index
> Fetch the complete documentation index at: https://strattumai.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# List Slack channels using stored connector credentials

> List Slack channels using the token already stored for this connector.

Returns all accessible channels with an ``is_selected`` flag indicating
which channel IDs are currently configured for sync. Used by the edit UI
so the user never needs to re-enter the token just to change channels.



## OpenAPI

````yaml /api-reference/catalog-api.json get /connectors/{connector_id}/slack/channels
openapi: 3.1.0
info:
  title: Strattum Catalog API
  description: Expõe a estrutura do data lake — camadas, conectores e tabelas.
  version: 0.1.0
servers: []
security: []
paths:
  /connectors/{connector_id}/slack/channels:
    get:
      tags:
        - connectors
      summary: List Slack channels using stored connector credentials
      description: |-
        List Slack channels using the token already stored for this connector.

        Returns all accessible channels with an ``is_selected`` flag indicating
        which channel IDs are currently configured for sync. Used by the edit UI
        so the user never needs to re-enter the token just to change channels.
      operationId: >-
        list_slack_channels_from_connector_connectors__connector_id__slack_channels_get
      parameters:
        - name: connector_id
          in: path
          required: true
          schema:
            type: string
            title: Connector Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SlackChannelsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    SlackChannelsResponse:
      properties:
        channels:
          items:
            $ref: '#/components/schemas/SlackChannel'
          type: array
          title: Channels
      type: object
      required:
        - channels
      title: SlackChannelsResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    SlackChannel:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        is_private:
          type: boolean
          title: Is Private
          default: false
        is_selected:
          type: boolean
          title: Is Selected
          default: false
      type: object
      required:
        - id
        - name
      title: SlackChannel
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````