Skip to content

Commands

HookLens currently exposes six CLI commands:

CommandPurpose
hooklens listenReceive webhooks locally, verify them, store them, and optionally forward them
hooklens listShow stored webhook events
hooklens inspect <id>View full details of a stored event
hooklens replay <id>Re-send a stored event to a target URL
hooklens delete <id>Delete a single stored event
hooklens clearDelete all stored events

Typical workflow

bash
hooklens listen --verify stripe --secret whsec_xxx --forward-to http://localhost:3000/webhook
hooklens list
hooklens inspect evt_abc123
hooklens replay evt_abc123 --to http://localhost:3000/webhook
hooklens delete evt_abc123
hooklens clear --yes

Command reference

Released under the MIT License.