---
title: "🔓 Обработка системных вебхуков от GitLab (события создания/удаления проектов)."
method: POST
path: "/integration/git/webhook/gitlab/system-webhook"
tags: ["Integrations: Git"]
---

# 🔓 Обработка системных вебхуков от GitLab (события создания/удаления проектов).

`POST /integration/git/webhook/gitlab/system-webhook`

## Request

- Base URL: `http://localhost`
- URL: `http://localhost/integration/git/webhook/gitlab/system-webhook`
- Auth: none required

Обработка системных вебхуков от GitLab (события создания/удаления проектов).

**Access:** `unauthorized` (0 ) · **Scope:** `write`

### TypeScript (copy-paste)

**`POST /integration/git/webhook/gitlab/system-webhook`**

<details open><summary><b>Params</b></summary>

```typescript
export interface IntegrationGitWebhookGitlabSystemWebhookParams {
  cID: string
}
```

</details>

<details open><summary><b>Response</b></summary>

```typescript
export type IntegrationGitWebhookGitlabSystemWebhookResponse = IServerResponse<Resp_integration_git_webhook_gitlab_system-webhook>

export interface IServerResponse<T = any> {
  code: number
  data: T
  srvTS: number
  rkey: string
}
```

</details>

> Полный файл типов: [`/docs/types`](/docs/types) · raw: [`/docs/api-types.ts`](/docs/api-types.ts)

## Query parameters

- `cID` string, uuid, required

## Headers

- `devID` string, uuid, required
- `tz` string, required
- `app` string, required
- `appVer` string, required
- `rKey` string

## Response `200`

OK — `IServerResponse<Resp_integration_git_webhook_gitlab_system-webhook>`

- object
  - `code` integer, required
  - `data` RespIntegrationGitWebhookGitlabSystemWebhook, required: ResponseData for integration/git/webhook/gitlab/system-webhook
    - `success` boolean, required
  - `srvTS` integer, required: Server timestamp (ms)
  - `rkey` string, required: Request key

## Other responses

- `400`: BadRequest: Missing secret token header or invalid payload format
- `404`: NotFound: Company or GitLab integration with specified cID not found

---

[API](https://skmtc.dev/kosmodrom/apis/kosmodrom-backend-api.md) · [All operations](https://skmtc.dev/kosmodrom/apis/kosmodrom-backend-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kosmodrom/apis/kosmodrom-backend-api/revisions/a143b51ba29a?raw)
