Hanzo
CLIWebhook

Webhook

8 `hanzo` commands for Webhook, each calling one operation on api.hanzo.ai.

Package webhooks is how your app hears about events: register an endpoint, pick the events, get each one delivered and signed.

8 commands · API reference →

CommandCallsWhat it does
hanzo webhooks deliveries <id>GET /v1/webhook/{id}/deliveriesReturns one endpoint's per-attempt delivery log, newest first — the record of what was sent, what the subscriber…
hanzo webhooks secret <id>POST /v1/webhook/{id}/secretMints a NEW HMAC signing secret for the endpoint and answers the endpoint WITH it — the only other response besides…
hanzo webhooks test <id>POST /v1/webhook/{id}/testSends ONE signed test event to the endpoint right now and answers the outcome inline, so the console can show whether…
hanzo webhooks get <id>GET /v1/webhook/{id}Returns one of the caller org's webhook endpoints with its 7-day delivery and failure counts, signing secret redacted.
hanzo webhooks set <id>PUT /v1/webhook/{id}Replaces the editable fields of one of the caller org's endpoints — url, events, status and description — and answers…
hanzo webhooks rm <id>DELETE /v1/webhook/{id}Removes one of the caller org's webhook endpoints and answers 204 with no body.
hanzo webhooks listGET /v1/webhookReturns every webhook endpoint the caller's org has registered, newest first, each with its 7-day delivery and failure…
hanzo webhooks createPOST /v1/webhookRegisters a new webhook subscription for the caller's org and answers 201 with the endpoint INCLUDING its freshly…

How is this guide?