curviate webhook create
Register a new webhook endpoint.
Usage
curviate webhook create --source <source> --request-url <request-url> [flags]Requires:
--account-idsfor--sourcemessaging, user and post; omit it with--sourceaccount_status to cover every current and future account.
Examples
curviate webhook create --source messaging --request-url https://example.com/hooks/curviate --account-ids acc_YOUR_ACCOUNT_ID
curviate webhook create --source account_status --request-url https://example.com/hooks/curviate --name statusFlags
| Flag | Type | Required | Description |
|---|---|---|---|
--source | string | yes | Event source: messaging | |
--request-url | string | yes | HTTPS URL to receive webhook deliveries. |
--account-ids | string | no | Comma-separated account ids to target. Required for messaging, user and post; omit on account_status to cover every current and future account. |
--name | string | no | Human-readable name (1-100 chars). |
--enabled | boolean | no | Create as enabled (default: true). Default: true. |
--events | string | no | Comma-separated event names to subscribe to. |
--data | string | no | Comma-separated field-remapping keys. |
Also accepts these global flags: --api-key, --profile, --account, --base-url, --timeout, --json, --fields, --preview, --verbose, --beta.
Exit codes: the exit code table. More commands: Webhook.