Endpoint Management
Manage debug endpoints and captured requests from the CLI.
Create an endpoint
hooklistener endpoint create "Stripe Webhooks" --slug stripe-webhooks
| Flag | Description |
|---|---|
--slug | Custom URL slug (auto-generated if omitted) |
--org | Organization ID override |
List endpoints
hooklistener endpoint list
Output includes endpoint ID, slug, status, webhook URL, and name.
| Flag | Description |
|---|---|
--org | Organization 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>
| Flag | Default | Description |
|---|---|---|
--page | 1 | Page number |
--page-size | 50 | Results 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
| Flag | Description |
|---|---|
--method | Override the HTTP method (GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS) |
--org | Organization ID override |
List forwards
hooklistener endpoint forwards <endpoint-id> <request-id>
| Flag | Default | Description |
|---|---|---|
--page | 1 | Page number |
--page-size | 50 | Results 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