CLI
Zero runtime dependencies. Node >= 18.
Install
sh
npm i -g @korb-sh/korbLogin
sh
korb loginOpens a device-style handshake: approve access in your browser. The token is saved to ~/.korb/credentials.json (0600).
For CI (or any headless use), create an API token in the dashboard (Settings → API tokens) and export it:
sh
export KORB_TOKEN=korb_...
export KORB_API_BASE=https://korb.sh # override the default endpointCommands
korb login / whoami / logout
korb forward <url> [--source id] [--interval ms] live events -> localhost
korb sources / destinations / routes
korb events [--hours N] [--status s] [--source id]
korb events get <id> headers + body of one event
korb replay <id> redeliver one event
korb presets preset catalog (public)
korb test <source> fire the preset's test event
korb delete <source|destination|route> <id-or-name>
korb mcp MCP server over stdioForward: localhost is a first-class destination
korb forward is the dev loop:
sh
korb forward http://localhost:3000/webhooks --interval 500- Polls new events and delivers each to your local URL — raw body preserved byte-for-byte, plus korb's delivery headers.
--source <id>scopes to one source.--interval <ms>sets the poll cadence (default 1000).--since <epoch-ms>starts from a timestamp instead of now — re-fire this morning's events at your handler while you iterate.
Pair it with korb replay <id> to re-fire the one event that broke your handler — no vendor re-send needed.
Tokens & scopes
API tokens are minted in the dashboard and are read-only or read+write. Write actions through a read-only token are refused locally (a clear message, not a mystery 403) and re-enforced server-side.
Billing and account deletion are always dashboard-session-only — a token can never touch them.