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

# Update Telegram integration

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

Update the Telegram integration. Omitted fields keep their current value; threadId and chatLabel accept null to clear them.

## Path parameters

- `projectId` string, required

## Request body

- object
  - `botToken` string
  - `chatId` string
  - `threadId` number, nullable
  - `chatLabel` string, nullable
  - `isActive` boolean
  - `events` object
    - `taskCreated` boolean
    - `taskStatusChanged` boolean
    - `taskPriorityChanged` boolean
    - `taskTitleChanged` boolean
    - `taskDescriptionChanged` boolean
    - `taskCommentCreated` boolean

## Response `200`

The updated integration

- TelegramIntegration, nullable
  - `id` string, required
  - `projectId` string, required
  - `chatId` string, required — The Telegram chat, group, or channel messages are sent to.
  - `threadId` number, nullable, required — Forum topic id, when the target group uses topics.
  - `chatLabel` string, nullable, required — A human-readable name for the chat, shown in the UI.
  - `botTokenConfigured` boolean, required
  - `maskedBotToken` string, required
  - `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` — Telegram integration not found

## Changes

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

[Change history](https://skmtc.dev/usekaneo/apis/kaneo-api/changes/telegram-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)
