Webhook Commands
Reference for managing outbound webhook endpoints and delivery history.
Reference for scalebox-cli webhook commands. webhooks is an alias.
All commands on this page also accept --compact for one-line JSON output.
webhook list
List webhook endpoints.
scalebox-cli webhook listCanonical paginated JSON:
{
"webhooks": [],
"pagination": {
"page": 1,
"limit": 50,
"total": 0,
"total_pages": 0,
"offset": 0
}
}webhook create
Create an endpoint with --url and at least one --event-type. Event types can be repeated or passed as a comma-separated value. Optional flags: --description, --scope.
scalebox-cli webhook create \
--url https://example.com/hooks \
--event-type sandbox.created,sandbox.terminated \
--scope accountRoot users default to account scope unless --scope user is set.
webhook get ENDPOINT_ID
Show one endpoint.
scalebox-cli webhook get wh_123webhook update ENDPOINT_ID
Update any of: --url, --event-type, --description, --active, --inactive, --timeout-seconds, --max-retries, --scope. Pass only one of --active or --inactive.
scalebox-cli webhook update wh_123 --inactive --max-retries 5webhook delete ENDPOINT_ID
Delete an endpoint permanently.
scalebox-cli webhook delete wh_123webhook deliveries ENDPOINT_ID
List recent delivery attempts. Supported flag: --limit.
scalebox-cli webhook deliveries wh_123 --limit 30The JSON envelope is:
{
"deliveries": [],
"pagination": {
"page": 1,
"limit": 30,
"total": 0,
"total_pages": 0,
"offset": 0
}
}