CLI

Webhooks from your terminal.
No tab-switching.

Send, trigger, retry, and tail webhooks without leaving the shell. Multi-region, JSON-streaming, and scriptable — ready for production workflows and CI pipelines.

Recommended on macOS Any *nix below
install
# macOS / Linux (Homebrew)
$ brew install getnahook/tap/nahook

# curl one-liner — any *nix
$ curl -fsSL https://cli.nahook.com/install.sh | sh

One binary. Every workflow.

The same commands you'd run in CI also work in your daily dev loop.

send

Send directly to an endpoint

Useful for testing a single endpoint or scripting one-off backfills.

$ nahook send ep_acme_prod \
  --data '{"orderId":"ord_123"}'
✓ delivered del_x4k2 (200, 47ms)
trigger

Fan-out to every subscriber

Fire an event by type — the backend routes it to every endpoint subscribed to it.

$ nahook trigger order.paid \
  --data '{"orderId":"ord_123"}'
✓ fan-out to 3 endpoints
events

Inspect recent events

List ingestion events with JSON output. Composes with jq for scripting and pipelines.

$ nahook events list --json | jq '.[].public_id'
"evt_a92k"
"evt_b1z3"
"evt_c4mq"
resend

Re-enqueue failed deliveries

Replay a failed or dead-lettered delivery. The retry runs through the same delivery pipeline as the original.

$ nahook events resend del_x4k2
✓ re-enqueued (attempt 4)

Built like the tools you already trust

Patterns borrowed from gh, stripe, and vercel. No surprises.

Region-aware

US ingestion is live today. EU and AP are coming soon — the CLI picks the right edge automatically based on your API key, no flag needed.

JSON output on demand

Pass --json for machine-readable output. Compose with jq, redirect to a file, or pipe into your CI summary.

Device-grant auth

nahook login opens your browser, walks you through device-grant auth, and writes a token to ~/.nahook/config.toml. No long-lived secrets in env files.

Idempotency built in

Pass --idempotency-key on send and Nahook dedupes the delivery — safe to retry from your scripts and CI without firing duplicates.

Built-in MCP server

nahook mcp serve exposes every command as an MCP tool. Your AI assistant can drive Nahook in plain English. Learn more →

CI / GitHub Actions ready

Exit codes propagate. --json output composes cleanly with jq for pipeline summaries. The same binary that runs on your laptop runs in your pipeline.

Install in 30 seconds

One binary, one credentials file, one install path. Free with every Nahook workspace.