This version of GitHub Enterprise Server will be discontinued on 2026-10-14. Discontinued releases are not supported. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features in GitHub Enterprise Server, see Overview of the upgrade process. For help with the upgrade, GitHub Enterprise Support.
Using webhooks
Learn how to use webhooks to react to events on GitHub.
Creating webhooks
You can create webhooks to subscribe to specific events that occur on GitHub.
Handling webhook deliveries
Learn how to write code to listen for and respond to webhook deliveries.
Validating webhook deliveries
You can use a webhook secret to verify that a webhook delivery is from GitHub.
Editing webhooks
After creating a webhook, you can make changes to it.
Disabling webhooks
You can disable a webhook to unsubscribe from events that occur on GitHub.
Best practices for using webhooks
Follow these best practices to improve security and performance when using webhooks.
Handling failed webhook deliveries
GitHub does not automatically redeliver failed webhook deliveries, but you can handle failed deliveries manually or by writing code.
Automatically redelivering failed deliveries for a repository webhook
You can write a script to handle failed deliveries of a repository webhook.
Automatically redelivering failed deliveries for an organization webhook
You can write a script to handle failed deliveries of an organization webhook.
Automatically redelivering failed deliveries for a GitHub App webhook
You can write a script to handle failed deliveries of a GitHub App webhook.