Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Function  





2 Authenticating the webhook notification  





3 See also  





4 References  





5 External links  














Webhook






العربية
Català
Deutsch
Español
Français

Italiano

Português
Русский
Українська

 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


Awebhookinweb development is a method of augmenting or altering the behavior of a web pageorweb 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.[1]

Function[edit]

Webhooks are "user-defined HTTP callbacks".[2] They are usually triggered by some event, such as pushing code to a repository,[3] a comment being posted to a blog[4] and many more use cases.[5] 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 behavior on another.

Common uses are to trigger builds with continuous integration systems[6] or to notify bug tracking systems.[7] Because webhooks use HTTP, they can be integrated into web services without adding new infrastructure.[8]

Authenticating the webhook notification[edit]

When the client (the originating website or application) makes a webhook call to the third-party user's server, the incoming POST request should be authenticated to avoid a spoofing attack and its timestamp verified to avoid a replay attack.[9] Different techniques to authenticate the client are used:

The sender may choose to keep a constant list of IP addresses from which requests will be sent. This is not a sufficient security measure on its own, but it is useful for when the receiving endpoint is behind a firewallorNAT.

See also[edit]

References[edit]

  1. ^ Web hook to revolutionize the web, 3 May 2007, archived from the original on 2018-06-30
  • ^ "Webhooks". Atlassian. Retrieved 2019-09-24.]
  • ^ About Webhooks - Github Help
  • ^ WordPress Webhooks
  • ^ Use Cases for 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?
  • ^ "Why Verify". Svix. Svix Inc. Retrieved September 12, 2021. Another potential security hole is what's called replay attacks.
  • ^ "DocuSign Connect Now Includes Basic Authentication Support". DocuSign. DocuSign, Inc. 16 November 2017. Retrieved January 15, 2020. the Connect notification service has been updated to support the Basic Authentication scheme with customers' Connect servers (listeners).
  • ^ "Securing your webhooks". Github. Github, Inc. Retrieved September 12, 2021.
  • ^ "Checking Webhook Signatures". Stripe. Stripe, Inc. Retrieved 12 May 2019.
  • ^ "Getting Started - Graph API - Documentation - Facebook for Developers". Facebook. Facebook, Inc. Retrieved 12 May 2019.
  • ^ "Mutual TLS: Stuff you should know". DocuSign. DocuSign, Inc. Retrieved January 15, 2020. Mutual TLS plus Client Access Control enables your listener app to ensure that the Connect notification message was sent by DocuSign and that it wasn't modified en route.
  • External links[edit]


    Retrieved from "https://en.wikipedia.org/w/index.php?title=Webhook&oldid=1217003432"

    Categories: 
    Hypertext Transfer Protocol
    Events (computing)
    Web technology
    Change detection and notification
    Hidden categories: 
    Articles with short description
    Short description matches Wikidata
     



    This page was last edited on 3 April 2024, at 06:42 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki