Save Webhook Subscription
lexq_webhook_subscriptions_saveCreate or update a webhook subscription. Omit id to create, provide id to update. Events: VERSION_PUBLISHED, DEPLOYED, ROLLED_BACK, UNDEPLOYED. Formats: GENERIC (full JSON), SLACK ({"text": "..."}).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Subscription ID (omit to create, provide to update) | |
| name | Yes | Subscription name (unique per tenant) | |
| secret | No | HMAC-SHA256 signing secret | |
| isActive | No | Whether the subscription is active | |
| webhookUrl | Yes | Webhook endpoint URL | |
| payloadFormat | No | Payload format | GENERIC |
| subscribedEvents | Yes | Events to subscribe to |