A webhook in web development is a method of augmenting or altering the behaviour of a web page, or web application, with custom callbacks. These callbacks may be maintained, modified, and managed by third-party users and developers who may not necessarily be affiliated with the originating website or application. The term "webhook" was coined by Jeff Lindsay in 2007 from the computer programming term hook.
Webhooks are "user-defined HTTP callbacks". They are usually triggered by some event, such as pushing code to a repository or a comment being posted to a blog. When that event occurs, the source site makes an HTTP request to the URL configured for the webhook. Users can configure them to cause events on one site to invoke behaviour on another.
Common uses are to trigger builds with continuous integration systems or to notify bug tracking systems. Because webhooks use HTTP, they can be integrated into web services without adding new infrastructure. However, there are also ways to build a message queuing service on top of HTTP—some RESTful examples include IronMQ and RestMS.
- Web hook to revolutionize the web, archived from the original on 2018-06-30
- What webhooks are and why you should care
- About Webhooks - Github Help
- WordPress Webhooks
- Jenkins GitHub Commit Hooks HOWTO, archived from the original on 2015-09-25
- Google Project Hosting - Post-Commit Web Hooks
- What are WebHooks and How Do They Enable a Real-time Web?