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

# Create Telegram integration

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

Create or replace the Telegram integration for a project. The bot token and chat are checked for shape only, not against Telegram.

## Path parameters

- `projectId` string, required

## Request body

- object
  - `botToken` string, required — A Telegram bot token, in the form 123456789:AA...
  - `chatId` string, required
  - `threadId` number
  - `chatLabel` string
  - `events` object
    - `taskCreated` boolean
    - `taskStatusChanged` boolean
    - `taskPriorityChanged` boolean
    - `taskTitleChanged` boolean
    - `taskDescriptionChanged` boolean
    - `taskCommentCreated` boolean

## Response `200`

The stored 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 bot token or chat failed validation
- `401` — Missing or invalid credentials
- `403` — No workspace access, or missing workspace:manage_settings

## Changes

- **2026-08-24** `08bbb5bedb5d` — 1 breaking, 3 info
  - the response's body became nullable
  - added the non-success response with the status `400`
  - added the non-success response with the status `401`
  - added the non-success response with the status `403`
- **2026-07-11** `32cece1ebe43` — 1 info
  - endpoint added

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