CLICommands

webhooks

snug webhooks <COMMAND>

Webhook management.

Subcommands

CommandWhat it does
createCreate a new webhook
listList all webhooks
infoShow webhook details
updateUpdate webhook configuration
deleteDelete a webhook
testEmit a test event for the webhook; the worker delivers it asynchronously
rotate-secretRotate webhook secret
enableRe-enable a webhook (clears auto-disable state and failure counters)
eventsList subscribable webhook event types
deliveriesList recent delivery attempts for a webhook
dlqList dead-lettered events for a webhook
redriveRe-enqueue a dead-lettered event for delivery
purge-dlqPurge all dead-lettered events for a webhook

Run snug webhooks <command> --help for that command's own options. The global options apply everywhere.

Examples

snug webhooks create --url https://example.com/webhook --events entity.status_changed,rate_limit.exceeded
snug webhooks list
snug webhooks events
snug webhooks info wh_123
snug webhooks update wh_123 --url https://example.com/new --events entity.liveness_anomaly
snug webhooks delete wh_123
snug webhooks test wh_123 --message 'ping'
snug webhooks rotate-secret wh_123
snug webhooks enable wh_123
snug webhooks deliveries wh_123 --limit 20
snug webhooks dlq wh_123
snug webhooks redrive wh_123 evt_456
snug webhooks purge-dlq wh_123

Next

On this page