Webhook Commands

View as Markdown

Manage signed webhooks and inspect or redeliver their deliveries.

Output formatting flags (--json, --jq, and --template) are documented once in Output Formatting and are omitted from the tables below.

bctrl webhook list

List webhooks

$bctrl webhook list [flags]
FlagDescription
-L, --limit <number>Maximum number of results to return
--cursor <cursor>Pagination cursor

bctrl webhook create

Create a webhook (the signing secret is returned once)

$bctrl webhook create

bctrl webhook get

Get a webhook

$bctrl webhook get <webhookId>

bctrl webhook patch

Update a webhook

$bctrl webhook patch <webhookId>

bctrl webhook delete

Delete a webhook

$bctrl webhook delete <webhookId> [flags]
FlagDescription
-y, --yesConfirm deletion

bctrl webhook rotate-secret

Rotate a webhook signing secret

$bctrl webhook rotate-secret <webhookId>

bctrl webhook test

Queue a test delivery

$bctrl webhook test <webhookId>

bctrl webhook deliveries list

List webhook deliveries

$bctrl webhook deliveries list <webhookId> [flags]
FlagDescription
-L, --limit <number>Maximum number of results to return
--cursor <cursor>Pagination cursor

bctrl webhook deliveries redeliver

Queue a webhook delivery again

$bctrl webhook deliveries redeliver <webhookId> <deliveryId>