@relinapp/cli
v0.1.0
Published
Relin CLI for webhook ingestion, event inspection, replay, routing, portal setup, and developer operations.
Maintainers
Readme
@relinapp/cli
Relin's command-line client for local webhook development, event inspection, replay, outbound app management, customer portal setup, retries, metrics, and alerts.
Install
npm install -g @relinapp/cliRequires Node 18+.
Authenticate
Create an API key in Relin, then log in:
relin login --token rlk_...To point the CLI at a different environment:
relin login --token rlk_... --api-url https://relin.appThe CLI stores config at ~/.config/relin/config.json.
Common workflows
List inbound sources:
relin sources listCreate a source:
relin sources create --name "Stripe dev" --vendor stripeList recent events:
relin events list --limit 20Inspect one event:
relin events get evt_...
relin events payload evt_...
relin events attempts evt_...Replay an event to its configured destinations:
relin replay evt_...Forward live traffic to a local server:
relin listen --source src_... http://localhost:3000/webhooksWork with outbound apps:
relin apps list
relin recipients list --app app_...
relin endpoints list --recipient rcpt_...
relin messages list --app app_...Inspect retries, metrics, and alerts:
relin retries list
relin metrics summary --window-hours 24
relin alerts listHelp
Print the full command reference:
relin helpRelin
- App: https://relin.app
- MCP docs: https://relin.app/docs/mcp
- API reference: https://relin.app/api/v1/openapi.json
