alpacon webhook create
Create a webhook for event notifications.
Usage
alpacon webhook create [flags]
Key facts
- Omitted name, URL, provider, and SSL verification settings are prompted interactively.
- The provider is detected from the URL.
- The webhook and SSL verification are enabled by default.
Flags
| Flag | Type | Description | Default |
|---|---|---|---|
--enabled | bool | Enable the webhook | true |
-h, --help | bool | help for create | false |
--name | string | Webhook name | — |
--owner | string | Owner username | — |
--provider | string | Webhook provider (slack, discord, teams, telegram, custom) | — |
--ssl-verify | bool | Enable SSL verification | true |
--url | string | Webhook URL | — |
--output | string | Output format: table or json | table |
Examples
Create a webhook interactively
alpacon webhook createCreate a webhook with flags
alpacon webhook create --name=my-webhook --url=https://hooks.slack.com/services/xxx
alpacon webhook create --name=my-webhook --url=https://example.com/hook --provider=custom
alpacon webhook create --name=my-webhook --url=https://example.com/hook --ssl-verify=falseInteractive setup
When you omit a setting, the command prompts for the webhook name, URL, provider, and SSL verification. The detected provider appears as the default; press Enter to accept it or enter slack, discord, teams, telegram, or custom.
SSL verification defaults to yes. Passing --ssl-verify or --ssl-verify=false skips that prompt.
On older self-hosted servers, the webhook owner defaults to the signed-in user and can be set with --owner. Newer servers ignore the owner setting.
--ssl-verify=false disables TLS certificate verification for webhook delivery, which exposes payloads to interception or tampering. Use it only for trusted internal endpoints or local testing.