---
title: "GitLab push webhook"
method: POST
path: "/gitlab/webhook"
tags: ["gitlab"]
---

# GitLab push webhook

`POST /gitlab/webhook`

## Request

- Base URL: `https://api.faable.com`
- URL: `https://api.faable.com/gitlab/webhook`
- Auth: none declared

Receives push events from a linked gitlab.com project (X-Gitlab-Token = the per-app secret) and deploys pushes to the linked branch.

## Query parameters

- `app_id` string, required

## Response `200`

Default Response

## Other responses

- `400`: `validation_error` — The body, query or path failed schema validation. `details.issues` lists each failing field.
- `429`: `too_many_requests` — Rate limit exceeded. Honour the `Retry-After` header.
- `500`: `internal_error` — Unexpected server error. Retry later; the request id is logged.
- `503`: `database_unavailable` — Faable cannot reach its database right now. Transient: retry after the `Retry-After` header.

---

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