> ## 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 accessible Slack channels

> Authenticate with a Slack bot token and return accessible channels.

Used by the UI so users can select which channels to sync.



## OpenAPI

````yaml /api-reference/catalog-api.json post /connectors/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/slack/channels:
    post:
      tags:
        - connectors
      summary: List accessible Slack channels
      description: |-
        Authenticate with a Slack bot token and return accessible channels.

        Used by the UI so users can select which channels to sync.
      operationId: list_slack_channels_connectors_slack_channels_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SlackChannelsRequest'
        required: true
      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:
    SlackChannelsRequest:
      properties:
        bot_token:
          type: string
          title: Bot Token
      type: object
      required:
        - bot_token
      title: SlackChannelsRequest
    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

````