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

# Change a Slack channel

> Sets the channel's account, whether Statisfy reads it, and whether Stella answers in it; only the fields sent change, and a null enable_stella unsets it (off). An account that does not exist is a 422; a channel Statisfy does not have is a 404. Nothing changes in Slack.



## OpenAPI

````yaml /api/statisfy-api.openapi.json patch /v1/integrations/slack/channels/{channel_id}
openapi: 3.1.0
info:
  description: >-
    The agent-first Statisfy API. Authenticate with an API key (`Authorization:
    Bearer stfy_live_…`), then call `GET /v1/meta/capabilities` to discover
    every operation and its schemas.
  title: Statisfy API
  version: 1.0.0
servers:
  - url: https://api.statisfy.com
    description: Production
security: []
paths:
  /v1/integrations/slack/channels/{channel_id}:
    patch:
      tags:
        - integrations
      summary: Change a Slack channel
      description: >-
        Sets the channel's account, whether Statisfy reads it, and whether
        Stella answers in it; only the fields sent change, and a null
        enable_stella unsets it (off). An account that does not exist is a 422;
        a channel Statisfy does not have is a 404. Nothing changes in Slack.
      operationId: integrations_slack_update_channel
      parameters:
        - description: >-
            The Slack channel's id (C…, G… or D…), as GET
            /v1/integrations/stella_slack/channels returns it
          in: path
          name: channel_id
          required: true
          schema:
            maxLength: 32
            pattern: ^[CDG][A-Z0-9]{6,}$
            type: string
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: false
              properties:
                cust_id:
                  anyOf:
                    - maxLength: 200
                      minLength: 1
                      type: string
                    - type: 'null'
                  default: null
                  description: 'The account the channel''s messages go to; null: no account'
                  title: Cust Id
                enable_stella:
                  anyOf:
                    - type: boolean
                    - type: 'null'
                  default: null
                  description: 'Stella answers @mentions in the channel; null: unset (off)'
                  title: Enable Stella
                ingestion_disabled:
                  description: >-
                    true: Statisfy does not read the channel; leave it out to
                    keep it
                  title: Ingestion Disabled
                  type: boolean
              type: object
        required: false
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChatChannelSaved'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    ChatChannelSaved:
      properties:
        channel:
          $ref: '#/components/schemas/ChannelResponse'
          description: The channel after the change, with its account, ingestion and Stella
      required:
        - channel
      title: ChatChannelSaved
      type: object
    ChannelResponse:
      properties:
        bot_present:
          title: Bot Present
          type: boolean
        channel_id:
          title: Channel Id
          type: string
        cust_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Cust Id
        cust_ids:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Cust Ids
        cust_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Cust Name
        cust_names:
          anyOf:
            - items:
                anyOf:
                  - type: string
                  - type: 'null'
              type: array
            - type: 'null'
          title: Cust Names
        enable_stella:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Enable Stella
        external:
          anyOf:
            - type: boolean
            - type: 'null'
          title: External
        ingestion_disabled:
          title: Ingestion Disabled
          type: boolean
        is_archived:
          title: Is Archived
          type: boolean
        is_group_chat:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Is Group Chat
        is_private:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Is Private
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
        visibility:
          anyOf:
            - enum:
                - public
                - private
              type: string
            - type: 'null'
          title: Visibility
        workspace_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Workspace Id
        workspace_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Workspace Name
      required:
        - channel_id
        - ingestion_disabled
        - bot_present
        - is_archived
      title: ChannelResponse
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http
      description: >-
        An API key, sent as `Authorization: Bearer stfy_live_…`. See
        [Authentication](/rest-api/authentication) for how to get one and which
        scopes it needs.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.