Sazabi
CLI

sazabi webhooks

Command reference for sazabi webhooks.

sazabi webhooks — Manage webhook endpoints. Subcommands: list, get, create, update, delete, rotate-secret, enable, test, subscribe, unsubscribe, deliveries.

sazabi webhooks

Manage webhook endpoints

sazabi webhooks <subcommand>
sazabi webhooks list  # List webhook endpoints
sazabi webhooks create "My Webhook" https://example.com/webhook  # Create an endpoint

sazabi webhooks list

List webhook endpoints

sazabi webhooks list [options]
FlagTypeRequiredDescription
--tokenstringNoOverride token
--api-base-urlstringNoOverride API base URL
--jsonbooleanNoOutput as JSON
sazabi webhooks list  # List webhook endpoints

sazabi webhooks get

Get a webhook endpoint

sazabi webhooks get <webhook-id> [options]
FlagTypeRequiredDescription
--tokenstringNoOverride token
--api-base-urlstringNoOverride API base URL
--jsonbooleanNoOutput as JSON
sazabi webhooks get <webhook-id>  # Show one webhook endpoint

sazabi webhooks create

Create a webhook endpoint

sazabi webhooks create <name> <url> [options]
FlagTypeRequiredDescription
--tokenstringNoOverride token
--api-base-urlstringNoOverride API base URL
--jsonbooleanNoOutput as JSON
--descriptionstringNoWebhook description
--auth-header-namestringNoCustom auth header name
--auth-header-valuestringNoCustom auth header value
sazabi webhooks create "My Webhook" https://example.com/webhook  # Create an endpoint

sazabi webhooks update

Update a webhook endpoint

sazabi webhooks update <webhook-id> [options]
FlagTypeRequiredDescription
--tokenstringNoOverride token
--api-base-urlstringNoOverride API base URL
--jsonbooleanNoOutput as JSON
--namestringNoWebhook name
--urlstringNoWebhook URL
--descriptionstringNoWebhook description
--auth-header-namestringNoCustom auth header name
--auth-header-valuestringNoCustom auth header value
sazabi webhooks update <webhook-id> --name "Updated Name"  # Update endpoint metadata

sazabi webhooks delete

Delete a webhook endpoint

sazabi webhooks delete <webhook-id> [options]
FlagTypeRequiredDescription
--tokenstringNoOverride token
--api-base-urlstringNoOverride API base URL
--jsonbooleanNoOutput as JSON
sazabi webhooks delete <webhook-id>  # Delete an endpoint

sazabi webhooks rotate-secret

Rotate the signing secret for a webhook

sazabi webhooks rotate-secret <webhook-id> [options]
FlagTypeRequiredDescription
--tokenstringNoOverride token
--api-base-urlstringNoOverride API base URL
--jsonbooleanNoOutput as JSON
sazabi webhooks rotate-secret <webhook-id>  # Rotate signing secret

sazabi webhooks enable

Enable a webhook endpoint

sazabi webhooks enable <webhook-id> [options]
FlagTypeRequiredDescription
--tokenstringNoOverride token
--api-base-urlstringNoOverride API base URL
--jsonbooleanNoOutput as JSON
sazabi webhooks enable <webhook-id>  # Re-enable an endpoint

sazabi webhooks test

Send a test delivery to a webhook

sazabi webhooks test <webhook-id> [options]
FlagTypeRequiredDescription
--tokenstringNoOverride token
--api-base-urlstringNoOverride API base URL
--jsonbooleanNoOutput as JSON
sazabi webhooks test <webhook-id>  # Send a test delivery

sazabi webhooks subscribe

Subscribe a webhook to project notifications

sazabi webhooks subscribe <webhook-id> [options]
FlagTypeRequiredDescription
--tokenstringNoOverride token
--api-base-urlstringNoOverride API base URL
--jsonbooleanNoOutput as JSON
--project-idstringNoProject to subscribe
--notification-typestringNoNotification type (repeatable)
--severitystringNoIssue severity filter (repeatable)
--component-idstringNoComponent filter (repeatable)
--team-idstringNoOwning-team filter (repeatable; exclusive with --component-id)
sazabi webhooks subscribe <webhook-id> --project-id <project-id> --notification-type issue_triggered  # Subscribe to issue notifications

sazabi webhooks unsubscribe

Remove a webhook project subscription

sazabi webhooks unsubscribe <webhook-id> <subscription-id> [options]
FlagTypeRequiredDescription
--tokenstringNoOverride token
--api-base-urlstringNoOverride API base URL
--jsonbooleanNoOutput as JSON
sazabi webhooks unsubscribe <webhook-id> <subscription-id>  # Remove a subscription

sazabi webhooks deliveries

List deliveries for a webhook

sazabi webhooks deliveries <webhook-id> [options]
FlagTypeRequiredDescription
--tokenstringNoOverride token
--api-base-urlstringNoOverride API base URL
--jsonbooleanNoOutput as JSON
--limitstringNoMaximum number of deliveries to return (default: 50, max: 100)
--cursorstringNoPagination cursor from previous response
sazabi webhooks deliveries <webhook-id>  # List delivery history