Wiring up a webhook starts with a guess. The sender's documentation describes a payload from two versions ago, or describes nothing at all, so you deploy a handler that logs whatever turns up, trigger the event, read the log, and deploy again with the real code.
A vesicle endpoint takes the guess out. It is a URL that answers from the moment you create it and stores every delivery under your account, whether or not there is anything yet to run against it.
$ ribo vesicle endpoint create github
https://api.tissue.systems/hook/hk_9f3c8a1b… (capture only — no route bound)
Paste that into a repository's Settings → Webhooks and open an issue. The endpoint
answers 202 and keeps what arrived:
$ ribo vesicle tail github
POST · 8437 bytes · content-type: application/json
{ "action": "opened", "issue": { "number": 412, "title": "…" }, "repository": {…} }
There is no Cell yet and nothing was deployed. What you are reading is the request as the sender actually made it, which is frequently not the shape their documentation describes. It is also a test fixture, one shell redirect away:
$ ribo vesicle show cap_7b21 > test/fixtures/issue-opened.json
$ ribo vesicle endpoint bind github --cell deploy-bot --route /github
From here each new delivery is reissued at your Cell on that route, with the method, body and content-type intact. The sender's own headers come along, and the platform adds four of its own:
export default {
async fetch(request, env) {
if (request.headers.get("x-tissue-event") !== "vesicle") {
return new Response("not found", { status: 404 });
}
const id = request.headers.get("x-tissue-vesicle-id"); // stable across retries
const attempt = request.headers.get("x-tissue-vesicle-attempt");
const event = request.headers.get("x-github-event"); // the sender's own header
…
},
};
Any x-tissue-* header a sender supplies is stripped before dispatch, so reading
those four without verifying anything is correct rather than lazy. Deliveries are
at-least-once and unordered: a retry, a replay, or a sender that posts the same event twice
all reach the handler again, and x-tissue-vesicle-id is the key to write
against when that matters.
Binding does not backfill. Everything captured while the endpoint was unbound stays put, because writing a handler is a code event rather than a business event, and three weeks of stored deliveries firing the instant a route appears is rarely what anyone wants. You replay them deliberately:
$ ribo vesicle replay cap_7b21 # one, and it prints the response
$ ribo vesicle replay github --all --since 2026-08-15 --dry-run
$ ribo vesicle replay github --all --since 2026-08-15
Replay can also aim at a Cell running on your own machine. --to is performed by
ribo, from your laptop, so a real delivery reaches localhost with no tunnel and
no public address pointed at you. The platform never posts to a URL you name: doing that
server-side would hand any account a request-forgery primitive, and no convenience is worth
shipping one.
| state | what happened |
|---|---|
captured | stored, no route bound, waiting for a replay |
delivered | the Cell answered 2xx or 3xx |
retrying | 5xx, a timeout, or unreachable; another attempt is scheduled |
rejected | the Cell answered 4xx. Permanent, never retried |
dead | retries exhausted |
Retries run on a fixed backoff (1m, 5m, 30m, 2h, 6h, 12h, 24h, 24h), which covers a
redeploy or an outage that runs most of a day. Nothing has to be configured for that to
happen. A 4xx is never retried, since a handler that rejects a payload will reject it
identically in an hour; it lands as rejected and waits for you.
A missed webhook is quiet damage. The subscription that never activated, the order that never reached the database. Here it is a row you can read and replay, and the Webhooks page in the dashboard carries a running count of the ones that need a person.
$ ribo vault set deploy-bot GITHUB_WEBHOOK_SECRET
$ ribo vesicle endpoint bind github --cell deploy-bot --route /github \
--verify github:GITHUB_WEBHOOK_SECRET
Presets cover GitHub's x-hub-signature-256, Stripe's timestamped scheme, and a
generic HMAC header. The check runs before anything is stored, so a delivery that fails it
is answered 401 and never becomes a capture. The signing secret stays in your
vault and is never handed to your code, including code an agent wrote for you.
Anyone holding the address can post to it. Only your account can see what was posted. That
split is what makes an endpoint safe to point a payment provider at on day one, and it is
why you should treat the id as a password: rotate issues a new one and keeps
the old capturing for seven days, so a rotation the sender has not applied yet drops
nothing.
Captures are a third party's raw HTTP, which routinely means credentials: the bearer token you gave the vendor, an API key in the body. Every read surface masks those by default, and revealing one is explicit and written to your audit log. Take particular care with a reveal over MCP, where the value goes straight into a model's context.
curl -L https://tissue.systems/download/latest/ribo-macos-arm64 -o ribo
chmod +x ribo && sudo mv ribo /usr/local/bin/ribo
The same actions are in the dashboard under Webhooks, in the REST API under
/v1/vesicle, and in the MCP server as vesicle_* tools, so an
assistant writing your handler can read the delivery it is writing against. The full guide
is at
docs.tissue.systems/docs/vesicle/overview.
Deliveries are kept for 30 days, whether or not there was anything there to receive them.