Sourcegraph Webhooks

Sourcegraph instances expose three distinct webhook surfaces. Outgoing webhooks (Site Admin > Configuration > Outgoing webhooks) push batch_change, changeset, and user:create events to external HTTP endpoints. The code monitoring webhook action delivers per-monitor JSON POSTs when a saved search returns new results. Incoming webhooks (Site Admin > Integrations > Incoming webhooks) receive push, batch-change, and permission events from GitHub, GitLab, Bitbucket Server, Bitbucket Cloud, and Azure DevOps.

API entry from apis.yml

apis.yml Raw ↑
aid: sourcegraph:sourcegraph-webhooks
name: Sourcegraph Webhooks
description: Sourcegraph instances expose three distinct webhook surfaces. Outgoing webhooks (Site Admin
  > Configuration > Outgoing webhooks) push batch_change, changeset, and user:create events to external
  HTTP endpoints. The code monitoring webhook action delivers per-monitor JSON POSTs when a saved search
  returns new results. Incoming webhooks (Site Admin > Integrations > Incoming webhooks) receive push,
  batch-change, and permission events from GitHub, GitLab, Bitbucket Server, Bitbucket Cloud, and Azure
  DevOps.
humanURL: https://sourcegraph.com/docs/admin/config/webhooks
tags:
- Webhooks
- Events
- Outgoing Webhooks
- Incoming Webhooks
- Code Monitoring
properties:
- type: Documentation
  url: https://sourcegraph.com/docs/admin/config/webhooks
- type: Documentation
  url: https://sourcegraph.com/docs/admin/config/webhooks/outgoing
  name: Outgoing Webhooks
- type: Documentation
  url: https://sourcegraph.com/docs/admin/config/webhooks/incoming
  name: Incoming Webhooks
- type: Documentation
  url: https://sourcegraph.com/docs/code_monitoring
  name: Code Monitoring Webhook Action