ReferenceAPIOperationsWebhooks
GitLab webhook receiver
Receives push/MR events from GitLab and triggers matching pipelines. Authenticated via webhook secret token.
Operation ID
gitlab_webhookReceives push/MR events from GitLab and triggers matching pipelines. Authenticated via webhook secret token.
Header Parameters
X-Gitlab-Token*string
GitLab webhook token
X-Gitlab-Event-UUID?|
GitLab event identifier
X-Gitlab-Event?|
GitLab event type
Request Body
application/json
GitLab webhook payload
TypeScript Definitions
Use the request body type in TypeScript.
body*unknown
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/webhooks/gitlab" \ -H "X-Gitlab-Token: string"{ "duplicate": true, "ok": true}