alpacon webhook create
Create a new webhook
alpacon webhook create [flags]
Options
--enabled # enable the webhook (default true)
-h, --help # help for create
--name string # webhook name
--owner string # owner username
--provider string # webhook provider (slack, discord, teams, telegram, custom)
--ssl-verify # enable SSL verification (default true)
--url string # webhook URL
Examples
Create a webhook interactively:
alpacon webhook create
Create 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=false
--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.
When a flag is omitted, the command prompts for it interactively:
- Webhook name: a label for the webhook
- Webhook URL: the endpoint to send notifications to
- Provider: automatically detected from the URL and shown as the default; choose from
slack,discord,teams,telegram, orcustom - SSL verification: prompts for
y/n, defaulting to yes; skipped if you pass the flag in either form (--ssl-verifyor--ssl-verify=false)
The provider is automatically detected from the URL you enter. The detected value is shown as the default in brackets (e.g., [custom]). Press Enter to accept it or type a different provider to override.