Skip to content

Configuring Webhooks in GitLab

Webhooks send HTTP POST requests to your services when events like pushes or pipeline updates happen in GitLab.

  1. In your project, go to Settings > Webhooks.
  2. Enter the URL of the receiving service.
  3. Select the events to trigger, such as Push events or Merge request events.
  4. Optionally add a Secret Token for verification.
  5. Click Add webhook.
  • Always use HTTPS endpoints.
  • Validate the secret token on the receiving service.
  • Restrict the IPs allowed to reach your endpoint if possible.
  • Trigger external CI systems.
  • Send notifications to chat platforms like Slack or Teams.
  • Sync repository updates to other systems.