# Sourcegraph Webhooks

**Canonical:** https://apis.io/apis/sourcegraph/sourcegraph-webhooks/  
**Provider:** Sourcegraph — https://apis.io/providers/sourcegraph/  
**Documentation:** https://sourcegraph.com/docs/admin/config/webhooks

Sourcegraph Webhooks is one of 10 APIs that [Sourcegraph](https://apis.io/providers/sourcegraph/) publishes on the [APIs.io](https://apis.io/) network. Tagged areas include Webhook, Event, Outgoing Webhooks, Incoming Webhooks, and Code Monitoring. The published artifact set on APIs.io includes API documentation.

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.

## Machine-readable artifacts (4)

- **Documentation** — https://sourcegraph.com/docs/admin/config/webhooks
- **Documentation** — https://sourcegraph.com/docs/admin/config/webhooks/outgoing
- **Documentation** — https://sourcegraph.com/docs/admin/config/webhooks/incoming
- **Documentation** — https://sourcegraph.com/docs/code_monitoring

## Other Sourcegraph APIs (9)

- [Sourcegraph REST API](https://apis.io/apis/sourcegraph/sourcegraph-rest-api/)
- [Sourcegraph GraphQL API](https://apis.io/apis/sourcegraph/sourcegraph-graphql-api/)
- [Sourcegraph Streaming Search API](https://apis.io/apis/sourcegraph/sourcegraph-streaming-search-api/)
- [Sourcegraph Analytics API](https://apis.io/apis/sourcegraph/sourcegraph-analytics-api/)
- [Sourcegraph MCP Server](https://apis.io/apis/sourcegraph/sourcegraph-mcp-server/)
- [Cody by Sourcegraph](https://apis.io/apis/sourcegraph/cody/)
- [Amp Coding Agent](https://apis.io/apis/sourcegraph/amp/)
- [Sourcegraph Deep Search](https://apis.io/apis/sourcegraph/deep-search/)
- [src CLI](https://apis.io/apis/sourcegraph/src-cli/)

## Tags

Webhook, Event, Outgoing Webhooks, Incoming Webhooks, Code Monitoring

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/sourcegraph/sourcegraph-webhooks/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/sourcegraph/.
