curviate webhook create

Register a new webhook endpoint.

Usage

curviate webhook create --source <source> --request-url <request-url> [flags]

Requires:

  • --account-ids for --source messaging, user and post; omit it with --source account_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 status

Flags

FlagTypeRequiredDescription
--sourcestringyesEvent source: messaging | user | account_status | post (scheduled-post results: post.published, post.publish_failed).
--request-urlstringyesHTTPS URL to receive webhook deliveries.
--account-idsstringnoComma-separated account ids to target. Required for messaging, user and post; omit on account_status to cover every current and future account.
--namestringnoHuman-readable name (1-100 chars).
--enabledbooleannoCreate as enabled (default: true). Default: true.
--eventsstringnoComma-separated event names to subscribe to.
--datastringnoComma-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.