---
title: "Update Discord integration"
method: PATCH
path: "/discord-integration/project/{projectId}"
tags: ["Discord"]
---

# Update Discord integration

`PATCH /discord-integration/project/{projectId}`

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

## Path parameters

- `projectId` string, required

## Request body

- object
  - `webhookUrl` string
  - `channelName` string, nullable
  - `isActive` boolean
  - `events` object
    - `taskCreated` boolean
    - `taskStatusChanged` boolean
    - `taskPriorityChanged` boolean
    - `taskTitleChanged` boolean
    - `taskDescriptionChanged` boolean
    - `taskCommentCreated` boolean

## Response `200`

The updated integration

- DiscordIntegration, nullable
  - `id` string, required
  - `projectId` string, required
  - `channelName` string, nullable, required
  - `webhookConfigured` boolean, required
  - `maskedWebhookUrl` string, required — The webhook URL with its secret path segment masked, or an empty string when none is set.
  - `events` IntegrationEvents, required
    - `taskCreated` boolean, required
    - `taskStatusChanged` boolean, required
    - `taskPriorityChanged` boolean, required
    - `taskTitleChanged` boolean, required
    - `taskDescriptionChanged` boolean, required
    - `taskCommentCreated` boolean, required
  - `isActive` boolean, nullable, required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required

## Other responses

- `400` — The resulting config failed validation
- `401` — Missing or invalid credentials
- `403` — No workspace access, or missing workspace:manage_settings
- `404` — Discord integration not found

## Changes

- **2026-08-24** `08bbb5bedb5d` — 2 breaking, 4 info
  - the request property `channelName` became not nullable
  - the response's body became nullable
  - added the non-success response with the status `400`
  - added the non-success response with the status `401`
  - …2 more
- **2026-07-11** `32cece1ebe43` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/usekaneo/apis/kaneo-api/changes/discord-integration/project/:projectId/patch.md)

---

[API](https://skmtc.dev/usekaneo/apis/kaneo-api.md) · [All operations](https://skmtc.dev/usekaneo/apis/kaneo-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/usekaneo/kaneo-api/revisions/9d1da42c10ce/schema)
