Skip to content
briefkastencloud

Receive webhookson servers the internet can't reach.

Receive webhooks over an outgoing WebSocket connection, so you don't need to expose a public service to the internet. briefkasten takes webhooks from GitHub, Linear, Sentry or your own senders, checks their signatures, fans them out to your servers and agents, and keeps each payload for three days for replay.

~/acme-shop: briefkasten
$ briefkasten login me@example.com
we've sent you an email with an auth code [expires in 10m]
> XSU1-SI2A
welcome to briefkasten cloud [free plan]
$ briefkasten source add github --project acme-shop
✓ created acme-shop/github: paste into GitHub → Webhooks
https://briefkasten-inbox.fabrik.computer/t/t_4k2m9q/hooks/acme-shop/github
whsec_9fK2wQ7dLx… (the secret is shown once)
$ briefkasten events --follow --project acme-shop
following acme-shop, resuming after evt_01JE7Q (ctrl-c to stop)
14:02:11 github push acme-shop/api ✓ 2 → 38ms
14:02:19 github pull_request.opened acme-shop/web ✓ 1 → 41ms

Why

Why receive webhooks through briefkasten

How it works

How a webhook reaches your server

The provider sends the webhook to briefkasten. Your server keeps an outgoing connection open to briefkasten and receives each event over it.

Provider

GitHub opens a pull request

and posts a signed webhook to your hook URL.

briefkasten

Checks the signature, keeps the event

verifiedstored for 3 days
Your server

Connected out, gets it in milliseconds

✓ received
Your agent

Was offline, catches up on return

offline✓ caught up, in order
Your server and your agent open the connection themselves, so they need no public address. What arrives while one is away waits for it.

CLI and SDK

Receive events with the CLI, from your app, or at your app's own URL

The CLI in a terminal; the SDK in your app, connected to briefkasten; or the SDK inside your app, which then receives the webhooks itself with no gateway.

Receive events in a terminal

Set up sources, follow events, or run a command for each one. Works over SSH and in CI, and agents can drive it with --json.

Read the guide →
~/acme-shop
briefkasten login you@example.com
briefkasten source add github --project acme-shop
briefkasten listen --filter '*:github:**' \
  --exec ./on-event.sh

Features

What briefkasten handles for you

Agents use the same: the briefkasten CLI with --json, or MCP over stdio or at https://briefkasten.fabrik.computer/mcp.

Pricing

Pricing: free, with no card and no trial

Use the hosted service, or run briefkasten yourself: same code, same API, same CLI.

briefkasten cloud

today

€0 / month

  • 100,000 events a month, 20 sources, 10 subscribers
  • Events kept for 3 days
  • Live tail, event details, redelivery, analytics
  • Email-code sign-in, 2FA, scoped tokens
Start free

Self-hosted

open source

  • Node, or your own Cloudflare account
  • Your limits, your retention
  • You run it, and get paged when it breaks
Self-hosting guide

Paid plans may come later for people who need more. You'll hear about them before anything costs money. All the limits

Questions

Questions

The API and the source code

Every operation is in the API reference, and the gateway is open source.

API reference
What happens if briefkasten is down?

The data plane (the part that receives your webhooks) runs on Cloudflare and keeps routing on its last known config even when our dashboard and API are down. If the data plane itself is down, providers see errors and most of them retry; GitHub lets you redeliver from its UI.

What happens when my server is offline?

Nothing is lost for up to three days. Events wait; your server reconnects with the last id it saw and gets the backlog in order.

Do I need briefkasten cloud at all?

No. The TypeScript SDK can run briefkasten inside your own app: webhooks reach your server, get verified, and call your handlers, with no gateway in between. Use cloud or a self-hosted gateway when your server should have no public entry point, or when several servers and agents share the same events.

Why does briefkasten cost so little to run?

Each account gets its own Durable Object on Cloudflare that holds the open connections with the WebSocket Hibernation API: while no event arrives, nothing runs, and keep-alive pings are answered without waking it.

Do you read my webhooks?

We store them for the retention window so we can hand them over, and you can inspect them in the dashboard. We do not mine them, sell them, or train anything on them. After the window they are deleted.

Can I move to my own gateway later?

Yes. briefkasten is open source. Run it yourself, point the CLI at it with briefkasten use https://hooks.example.com, and move your sources. Same API, same CLI, same MCP tools.

Start receiving webhooks

$ briefkasten login me@example.com
Sign up on the web