What is a webhook?
A webhook is an HTTP request one service sends to a URL you give it when something happens on its side: a payment succeeds, someone pushes to a repository, a form is submitted. Instead of your code asking every few minutes whether anything changed, the other service tells you as it happens.
How it works
You register a URL with the sending service and choose which events you want. When one occurs, the service sends a POST to that URL, usually with a JSON body describing the event and a few headers naming the event type and a delivery id. Your endpoint does its work and answers with a 2xx status. If it doesn't answer, or answers with an error, most services retry for a while and then give up.
Because the URL is public, anyone can post to it. Senders deal with that by signing each request: they compute an HMAC of the body with a secret you both know and send it in a header, and your endpoint recomputes it over the raw body and rejects anything that doesn't match. Retries mean the same event can arrive more than once, so a careful receiver records the delivery id and ignores repeats. Answering fast and doing slow work afterwards keeps the sender from timing out and retrying.
Webhooks on Tissue Cloud
Any Cell can receive webhooks: it already has a public HTTPS URL, and the signing secret goes in a vault binding. For more than that, Tissue Cloud has vesicle, a webhook inbox. A vesicle endpoint is a URL at https://api.tissue.systems/hook/ that captures every delivery under your account, even before you've written any code, and forwards it to a Cell route once you bind one. It can check Stripe, GitHub or generic HMAC signatures before storing anything, without the secret ever reaching your code, and it retries failed deliveries to the Cell and lets you replay them.
Vesicle overview covers endpoints, verification and retries.