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

# Update Slack integration

> Update the Slack integration. Omitted fields keep their current value, and event toggles are merged into the existing set.



## OpenAPI

````yaml /openapi.json patch /slack-integration/project/{projectId}
openapi: 3.1.0
info:
  title: Kaneo API
  version: 1.0.0
  description: Kaneo Project Management API - Manage projects, tasks, labels, and more
servers:
  - url: https://cloud.kaneo.app/api
    description: Kaneo API Server
security:
  - bearerAuth: []
paths:
  /slack-integration/project/{projectId}:
    patch:
      tags:
        - Slack
      summary: Update Slack integration
      description: >-
        Update the Slack integration. Omitted fields keep their current value,
        and event toggles are merged into the existing set.
      operationId: updateSlackIntegration
      parameters:
        - schema:
            type: string
          required: true
          name: projectId
          in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                webhookUrl:
                  type: string
                channelName:
                  type:
                    - string
                    - 'null'
                isActive:
                  type: boolean
                events:
                  type: object
                  properties:
                    taskCreated:
                      type: boolean
                    taskStatusChanged:
                      type: boolean
                    taskPriorityChanged:
                      type: boolean
                    taskTitleChanged:
                      type: boolean
                    taskDescriptionChanged:
                      type: boolean
                    taskCommentCreated:
                      type: boolean
      responses:
        '200':
          description: The updated integration
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SlackIntegration'
        '400':
          description: The resulting config failed validation
          content:
            text/plain:
              schema:
                type: string
        '401':
          description: Missing or invalid credentials
        '403':
          description: No workspace access, or missing workspace:manage_settings
          content:
            text/plain:
              schema:
                type: string
        '404':
          description: Slack integration not found
          content:
            text/plain:
              schema:
                type: string
components:
  schemas:
    SlackIntegration:
      type:
        - object
        - 'null'
      properties:
        id:
          type: string
        projectId:
          type: string
        channelName:
          type:
            - string
            - 'null'
        webhookConfigured:
          type: boolean
        maskedWebhookUrl:
          type: string
          description: >-
            The webhook URL with its secret path segment masked, or an empty
            string when none is set.
        events:
          $ref: '#/components/schemas/IntegrationEvents'
        isActive:
          type:
            - boolean
            - 'null'
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
      required:
        - id
        - projectId
        - channelName
        - webhookConfigured
        - maskedWebhookUrl
        - events
        - isActive
        - createdAt
        - updatedAt
    IntegrationEvents:
      type: object
      properties:
        taskCreated:
          type: boolean
        taskStatusChanged:
          type: boolean
        taskPriorityChanged:
          type: boolean
        taskTitleChanged:
          type: boolean
        taskDescriptionChanged:
          type: boolean
        taskCommentCreated:
          type: boolean
      required:
        - taskCreated
        - taskStatusChanged
        - taskPriorityChanged
        - taskTitleChanged
        - taskDescriptionChanged
        - taskCommentCreated
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key or session token (Bearer)

````