---
title: "Get Gitea integration"
method: GET
path: "/gitea-integration/project/{projectId}"
tags: ["Gitea"]
---

# Get Gitea integration

`GET /gitea-integration/project/{projectId}`

Get the Gitea integration for a project, or null when none is configured. The webhook secret is included only for callers with workspace:manage_settings.

## Path parameters

- `projectId` string, required

## Response `200`

Gitea integration details, or null

- GiteaIntegration, nullable
  - `id` string, required
  - `projectId` string, required
  - `baseUrl` string, required — Root URL of the Gitea instance.
  - `repositoryOwner` string, required
  - `repositoryName` string, required
  - `maskedAccessToken` string, required
  - `webhookUrl` string — Where Gitea should POST events for this project.
  - `webhookSecret` string — Only returned to callers with workspace:manage_settings, so the value can be pasted into Gitea.
  - `branchPattern` string
  - `commentTaskLinkOnGiteaIssue` boolean — When on, Kaneo comments a link back to the task on the linked Gitea issue.
  - `isActive` boolean, nullable, required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required

## Other responses

- `400` — Unknown project, or its workspace could not be determined
- `401` — Missing or invalid credentials
- `403` — No access to the project's workspace

## 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/gitea-integration/project/:projectId/get.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)
