maxdraco

Webhook

A way for one service to notify another of an event by sending it a web request.

Concept Programming and AI

A webhook is an address a program gives to a service, saying “when something happens, send the details here”. The service then makes an HTTP request to that address each time the event occurs. It is the opposite of Polling, where the program keeps asking whether anything is new. Because anyone who learns the address can send it requests, webhooks are usually protected with a shared secret.

See also

  • Polling Checking something over and over on a timer to see whether it has changed, instead of waiting to be told.
  • API A defined way for one program to ask another for data or actions.
  • HTTP The protocol web browsers and servers use to request and send pages and data.
  • AI Artificial intelligence: software that performs tasks usually thought to need human judgement.
  • Endpoint (route) One specific address on a web service that a program can call to do one job.
  • Environment variable A named setting a running program inherits from whatever started it.
  • Exit code The number a program hands back when it finishes: zero for success, anything else for failure.
  • Git Free software that records every change to a set of files, used to keep the history of most software projects.

Sources

  1. About webhooksGitHubofficial healthy, checked 2026-11-15 archived copy
  2. WebhookWikipedia healthy, checked 2026-11-15 archived copy