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 endpointsazabi webhooks list
List webhook endpoints
sazabi webhooks list [options]| Flag | Type | Required | Description |
|---|---|---|---|
--token | string | No | Override token |
--api-base-url | string | No | Override API base URL |
--json | boolean | No | Output as JSON |
sazabi webhooks list # List webhook endpointssazabi webhooks get
Get a webhook endpoint
sazabi webhooks get <webhook-id> [options]| Flag | Type | Required | Description |
|---|---|---|---|
--token | string | No | Override token |
--api-base-url | string | No | Override API base URL |
--json | boolean | No | Output as JSON |
sazabi webhooks get <webhook-id> # Show one webhook endpointsazabi webhooks create
Create a webhook endpoint
sazabi webhooks create <name> <url> [options]| Flag | Type | Required | Description |
|---|---|---|---|
--token | string | No | Override token |
--api-base-url | string | No | Override API base URL |
--json | boolean | No | Output as JSON |
--description | string | No | Webhook description |
--auth-header-name | string | No | Custom auth header name |
--auth-header-value | string | No | Custom auth header value |
sazabi webhooks create "My Webhook" https://example.com/webhook # Create an endpointsazabi webhooks update
Update a webhook endpoint
sazabi webhooks update <webhook-id> [options]| Flag | Type | Required | Description |
|---|---|---|---|
--token | string | No | Override token |
--api-base-url | string | No | Override API base URL |
--json | boolean | No | Output as JSON |
--name | string | No | Webhook name |
--url | string | No | Webhook URL |
--description | string | No | Webhook description |
--auth-header-name | string | No | Custom auth header name |
--auth-header-value | string | No | Custom auth header value |
sazabi webhooks update <webhook-id> --name "Updated Name" # Update endpoint metadatasazabi webhooks delete
Delete a webhook endpoint
sazabi webhooks delete <webhook-id> [options]| Flag | Type | Required | Description |
|---|---|---|---|
--token | string | No | Override token |
--api-base-url | string | No | Override API base URL |
--json | boolean | No | Output as JSON |
sazabi webhooks delete <webhook-id> # Delete an endpointsazabi webhooks rotate-secret
Rotate the signing secret for a webhook
sazabi webhooks rotate-secret <webhook-id> [options]| Flag | Type | Required | Description |
|---|---|---|---|
--token | string | No | Override token |
--api-base-url | string | No | Override API base URL |
--json | boolean | No | Output as JSON |
sazabi webhooks rotate-secret <webhook-id> # Rotate signing secretsazabi webhooks enable
Enable a webhook endpoint
sazabi webhooks enable <webhook-id> [options]| Flag | Type | Required | Description |
|---|---|---|---|
--token | string | No | Override token |
--api-base-url | string | No | Override API base URL |
--json | boolean | No | Output as JSON |
sazabi webhooks enable <webhook-id> # Re-enable an endpointsazabi webhooks test
Send a test delivery to a webhook
sazabi webhooks test <webhook-id> [options]| Flag | Type | Required | Description |
|---|---|---|---|
--token | string | No | Override token |
--api-base-url | string | No | Override API base URL |
--json | boolean | No | Output as JSON |
sazabi webhooks test <webhook-id> # Send a test deliverysazabi webhooks subscribe
Subscribe a webhook to project notifications
sazabi webhooks subscribe <webhook-id> [options]| Flag | Type | Required | Description |
|---|---|---|---|
--token | string | No | Override token |
--api-base-url | string | No | Override API base URL |
--json | boolean | No | Output as JSON |
--project-id | string | No | Project to subscribe |
--notification-type | string | No | Notification type (repeatable) |
--severity | string | No | Issue severity filter (repeatable) |
--component-id | string | No | Component filter (repeatable) |
--team-id | string | No | Owning-team filter (repeatable; exclusive with --component-id) |
sazabi webhooks subscribe <webhook-id> --project-id <project-id> --notification-type issue_triggered # Subscribe to issue notificationssazabi webhooks unsubscribe
Remove a webhook project subscription
sazabi webhooks unsubscribe <webhook-id> <subscription-id> [options]| Flag | Type | Required | Description |
|---|---|---|---|
--token | string | No | Override token |
--api-base-url | string | No | Override API base URL |
--json | boolean | No | Output as JSON |
sazabi webhooks unsubscribe <webhook-id> <subscription-id> # Remove a subscriptionsazabi webhooks deliveries
List deliveries for a webhook
sazabi webhooks deliveries <webhook-id> [options]| Flag | Type | Required | Description |
|---|---|---|---|
--token | string | No | Override token |
--api-base-url | string | No | Override API base URL |
--json | boolean | No | Output as JSON |
--limit | string | No | Maximum number of deliveries to return (default: 50, max: 100) |
--cursor | string | No | Pagination cursor from previous response |
sazabi webhooks deliveries <webhook-id> # List delivery history