Skip to content

Docs / Guides

Self-hosting

WebhookHQ's developer features are also a self-hosted edition, webhookhq-oss, that you run on your own servers. It's source available under the Functional Source License, has no plans or limits, and starts with one docker compose up.

What's in it

The self-hosted edition has what one developer needs to capture, debug and deliver webhooks. The features that serve a company, and the hosting itself, are only in hosted WebhookHQ.

Self-hosted Hosted
Endpoints, custom slugs, endpoint authentication Yes Yes
Live stream, full request view, search and JSONPath, copy as cURL Yes Yes
Custom responses and verification handshakes Yes Yes
Instant bins Yes Yes
Forwarding, fan-out, retries, pausing, delivery timeline Yes Yes
Replay, edit and replay, signature debugger, signed test events Yes Yes
The CLI tunnel, the REST API, export, the MCP server Yes Yes
Email and GitHub sign-in, two-factor authentication, access tokens Yes Yes
Organizations with owners, admins and members, invitations, several workspaces Yes Yes
AI explanations and Ask AI No Yes
Per-workspace access and roles, the audit log page No Yes
Sharing by link or email, company email domain No Yes
Plans and limits None Plans
Event retention You choose Set by the plan
Infrastructure, backups and uptime You run them We run them
Support No Yes

License

The self-hosted edition is source available, under the Functional Source License (FSL-1.1-ALv2), one of the fair source licenses. In plain words:

  • You can use it, change it and self-host it for any purpose, including inside your company.
  • You can't offer it, or a changed copy of it, as a commercial service that competes with WebhookHQ.
  • Each release becomes Apache 2.0 two years after it's published, without the restriction on competing services.

The LICENSE file in the repository is what applies; this summary isn't legal advice.

Start it

You need Docker with Compose. One docker compose up runs PostgreSQL, Valkey and the app's processes (web, jobs, events, deliveries), plus Mailpit to catch its emails while you try it:

git clone https://github.com/webhook-hq/webhookhq-oss.git
cd webhookhq-oss
cat > .env <<EOF
WHQ_APP_SECRETS='{"secret_key_base": "$(openssl rand -hex 64)"}'
WHQ_SMTP='{"address": "mailpit", "port": 1025}'
EOF
docker compose build web
docker compose up -d

Then sign up at http://app.localhost:8080, and send webhooks to http://in.localhost:8080/<organization>/<endpoint>. Keep .env private and safe: its secret encrypts signing secrets and destination URLs in the database. The repository's README has the quick start, and docs/SELF-HOSTING.md the full guide: your own domain, email over SMTP, backups, upgrades and retention.

To use the whq CLI or coding agents with your own server, point them at it instead of webhookhq.dev: for the CLI, set WHQ_API_URL to https://app.<your domain> (see the CLI); the MCP server is at https://mcp.<your domain>/v1/mcp, with the same access tokens.

Contributing

Contributions are pull requests to webhookhq-oss, which squash-merges every pull request. There's no contributor agreement to sign: by opening a pull request you license your contribution under Apache 2.0 as well as the FSL, so it can ship in hosted WebhookHQ too. Its CONTRIBUTING.md has the details.

Hosted or self-hosted

Choose hosted WebhookHQ when you'd rather not run servers, or when you need:

  • the team features: per-workspace access, the audit log, sharing and a company email domain;
  • AI explanations and Ask AI;
  • someone else to keep it up, back it up and upgrade it, with support when something goes wrong.

Choose self-hosting when webhooks must stay on servers you control, or you want to read and change the code.