Skip to main content

Endpoint Management

Manage debug endpoints and captured requests from the CLI.

Create an endpoint​

hooklistener endpoint create "Stripe Webhooks" --slug stripe-webhooks
FlagDescription
--slugCustom URL slug (auto-generated if omitted)
--orgOrganization ID override

List endpoints​

hooklistener endpoint list

Output includes endpoint ID, slug, status, webhook URL, and name.

FlagDescription
--orgOrganization ID override

Show endpoint details​

hooklistener endpoint show <endpoint-id>

Delete an endpoint​

hooklistener endpoint delete <endpoint-id>

List captured requests​

hooklistener endpoint requests <endpoint-id>
FlagDefaultDescription
--page1Page number
--page-size50Results per page
--org—Organization ID override

Show a captured request​

hooklistener endpoint request <endpoint-id> <request-id>

Displays full request details: method, URL, headers, query parameters, and body.

Delete a captured request​

hooklistener endpoint delete-request <endpoint-id> <request-id>

Forward a request​

Replay a captured request to a target URL:

hooklistener endpoint forward-request <endpoint-id> <request-id> http://localhost:3000/webhook
FlagDescription
--methodOverride the HTTP method (GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS)
--orgOrganization ID override

List forwards​

hooklistener endpoint forwards <endpoint-id> <request-id>
FlagDefaultDescription
--page1Page number
--page-size50Results per page

Show forward details​

hooklistener endpoint forward <forward-id>

Displays the complete forward attempt: request/response headers, body, timing, and errors.

Organization override​

All endpoint commands accept --org <organization-id> to override the default organization. This is useful when managing endpoints across multiple organizations:

hooklistener endpoint list --org org_abc123