veirox webhook

Manage webhook configs, events, and routing rules

Synopsis

veirox webhook <subcommand> [args] [flags]

Description

Manage webhook configs, events, and routing rules

Subcommands

CommandDescription
veirox webhook create <task-id>Attach a webhook config to a task
veirox webhook delete <task-id>Detach the webhook from a task
veirox webhook eventsList webhook events
veirox webhook for-task <task-id>Show the webhook config attached to a task
veirox webhook info <webhook-id>Show one webhook config
veirox webhook listList webhook configurations
veirox webhook metricsShow webhook metrics
veirox webhook providersList supported webhook providers
veirox webhook recipesList webhook recipes
veirox webhook replay <event-id>Replay a webhook event
veirox webhook rotate <webhook-id>Rotate the webhook signing secret
veirox webhook routing-rulesManage webhook routing rules
veirox webhook statsShow webhook config stats
veirox webhook test <webhook-id>Send a test event to a webhook config
veirox webhook update <task-id>Update the webhook config attached to a task

veirox webhook create <task-id>

Attach a webhook config to a task

FlagTypeDefaultDescription
--namestringconfig display name
veirox webhook create <task-uuid> --name 'AlertManager'

veirox webhook delete <task-id>

Detach the webhook from a task

FlagTypeDefaultDescription
--yesboolfalseconfirm deletion
veirox webhook delete <task-uuid> --yes

veirox webhook events

List webhook events

FlagTypeDefaultDescription
--limitint0page size
--offsetint0pagination offset
veirox webhook events --limit 50

veirox webhook for-task <task-id>

Show the webhook config attached to a task

veirox webhook for-task <task-uuid>

veirox webhook info <webhook-id>

Show one webhook config

veirox webhook info 00000000-0000-4000-8000-000000000001

veirox webhook list

List webhook configurations

FlagTypeDefaultDescription
--limitint0page size
--offsetint0pagination offset
veirox webhook list --limit 25

veirox webhook metrics

Show webhook metrics

veirox webhook metrics

veirox webhook providers

List supported webhook providers

veirox webhook providers

veirox webhook recipes

List webhook recipes

veirox webhook recipes

veirox webhook replay <event-id>

Replay a webhook event

veirox webhook replay 00000000-0000-4000-8000-000000000001

veirox webhook rotate <webhook-id>

Rotate the webhook signing secret

veirox webhook rotate 00000000-0000-4000-8000-000000000001

veirox webhook routing-rules

Manage webhook routing rules

veirox webhook stats

Show webhook config stats

veirox webhook stats

veirox webhook test <webhook-id>

Send a test event to a webhook config

FlagTypeDefaultDescription
--body-jsonstringJSON object to send as the test payload
veirox webhook test <uuid> --body-json '{"hello":"world"}'

veirox webhook update <task-id>

Update the webhook config attached to a task

FlagTypeDefaultDescription
--namestringnew config name
veirox webhook update <task-uuid> --name 'PagerDuty Inbound'

Exit codes

CodeMeaning
0Success.
1Generic error (network, API 5xx).
2Validation error (bad flag, missing required arg).
3Unauthenticated — run veirox login or set VEIROX_API_KEY.
4Not found (resource does not exist in this project).
5Permission denied (your role / API key lacks the scope).

See also