Skip to content

Glossary

Webhook: an event pushed to your URL as it happens

An API waits until you ask. A webhook tells you. For an agent that has to react to a reply, a text or a code, that is the difference between answering at once and finding out later.

A webhook is a message one system sends to a web address you choose, as soon as an event happens, so you don’t have to keep asking whether anything is new. The system sending it makes an HTTP request to your endpoint with data about the event, and your server acts on it.

On this page
  1. What a webhook is
  2. Webhook versus API
  3. The endpoint and the signature

What a webhook is

GitHub’s documentation About webhooks says webhooks let you subscribe to events and automatically receive a delivery of data at your server when they occur. You give the sender a URL once. When a subscribed event happens, it sends an HTTP request with data about the event to that URL, and your server acts on it.

Webhook versus API

With an API you call the other system and ask. Asking repeatedly to see whether anything changed is called polling. GitHub’s page says webhooks need less effort and fewer resources than polling, scale better when you watch many things, and give near real-time updates. The two work together: a webhook says that something happened, and an API call fetches the full detail or takes an action.

The endpoint and the signature

The endpoint is the URL on your server that receives the request. Because anyone could post to it, senders sign each delivery. GitHub, for one, sends a hash of the payload made with your secret in the `X-Hub-Signature-256` header, and its guide on validating deliveries tells your server to calculate its own and compare the two, with a constant-time comparison. Other senders use their own header names, so read each one’s docs.

Obsession is the toolkit for AI agents, through one API and one bill. Developers subscribe once with a signed webhook and receive every event from every piece, such as an email received or a text received, and every event also lands in the event log. The same events can start Zapier, Make and n8n flows.

The URL on your own server that the sender posts events to. It has to be reachable from the internet, answer quickly and check the signature before it trusts the body.

No. An API is how you ask another system for data or ask it to act. A webhook is how that system tells you something happened. Most products offer both.

It depends on the sender. Some retry for a while and some don’t, so check its docs. Reading the event log by cursor afterwards lets you catch up on anything you missed.

How events reach you

Sources

In the order the page cites them. Every page was read on 24 Nov 2026.

  1. About webhooksGitHub Docs
  2. Validating webhook deliveriesGitHub Docs

Related terms

Each defined in a sentence, with where it shows up.

Where this term is used

The comparisons, alternatives and terms that lean on it.

Where to go next

The pieces, use cases and rules this page draws on, each on its own page.

Start with the piece your agent needs, or a ready-made job.

Browse blueprints