@photon-ai/cli 3.0.1.
Create a webhook destination
Options
| Flag | Description | Details |
|---|---|---|
--all-events | Subscribe to every event type | Type: boolean; Default: false; Conflicts: "event" |
--api-version <string> | Webhook payload API version (YYYY-MM-DD) | Type: string; Value required |
--color / --no-color | Use color in terminal output | Global; Type: boolean; Default: true |
--debug | Include sanitized HTTP and error diagnostics | Global; Type: boolean; Default: false |
--description <string> | Webhook destination description | Type: string |
--event <string> | Event type to subscribe to (repeatable) | Type: string; Repeatable; Conflicts: "allEvents" |
-h, --help | Display this help message | Global; Type: boolean |
--idempotency-key <string> | Identify or continue the same logical request | Type: string |
--json | Emit stable JSON instead of human-readable output | Global; Type: boolean; Default: false |
--name <string> | Webhook destination name | Type: string; Value required |
--no-input | Never ask a question; fail and name the flag instead | Global; Type: boolean; Default: false |
--org <string> | Organization ID for this command (or set PHOTON_ORGANIZATION_ID) | Global; Type: string |
--project <string> | Project ID for this command (or set PHOTON_PROJECT_ID) | Global; Type: string |
--status <enum> | Initial webhook destination status | Type: enum; Default: "enabled"; Choices: enabled, disabled |
--url <string> | HTTPS delivery URL | Type: string; Value required |
-v, --version | Display this version | Global; Type: boolean |