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

FlagTypeDescriptionDefault
--enabledboolEnable the webhooktrue
-h, --helpboolhelp for createfalse
--namestringWebhook name—
--ownerstringOwner username—
--providerstringWebhook provider (slack, discord, teams, telegram, custom)—
--ssl-verifyboolEnable SSL verificationtrue
--urlstringWebhook URL—
--outputstringOutput format: table or jsontable

Examples

Create a webhook interactively

bash
alpacon webhook create

Create a webhook with flags

bash
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

Interactive 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.

Note

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.

Warning

--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.

Last updated: