Pipeline apps

Inbound webhooks

Token-authenticated delivery into owner-bound native envelope datasets.

Create a hook with an authenticated POST /v1/hooks and JSON body {"name":"stripe_events"}. The response contains hook_id, path, dataset and a token. Treat the token as a credential; do not log it. An optional signature object selects github or stripe and supplies its signing secret.

The dedicated dataset is webhook.<blake3-owner-hash>.<name>. Names use lowercase letters, digits, underscores or hyphens, with a maximum of 48 characters. An existing dedicated dataset can instead be supplied as dataset; it must belong to the authenticated caller. Arbitrary existing typed datasets are not valid targets. No operator allowlist or ownership-table configuration is needed.

Send raw bytes to the returned path with x-webhook-token. The maximum body is 1 MiB. When configured, GitHub SHA-256 or Stripe timestamped signatures must also validate. Use x-webhook-delivery-id for stable retry identity; without it, the raw body hash determines identity. The accepted response follows DES persistence acceptance, not an asynchronous delivery queue.

Rows use the checked-in native inbound_webhook::Envelope: delivery id, hook id, owner, receive time, exact raw bytes and a bounded noncredential header subset. The engine uses its ordinary owner-column policy to isolate reads and writes. Owners can project envelopes into typed datasets with a pipeline transform; ingestion never inserts an envelope into a pre-existing typed dataset.

© 2026 Redgold Labs