growsurf_update_campaign_webhook
Update a GrowSurf program webhook by ID, changing only the fields you send, such as events, secret, or payload URL. Optionally target a specific campaign.
Instructions
Update a webhook on your GrowSurf program by id (webhookId is primary for the program's primary webhook). Only the fields you send are changed. secret is write-only and never returned. Targets campaignId if you pass it, otherwise GROWSURF_CAMPAIGN_ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| events | No | ||
| secret | No | Write-only. | |
| isEnabled | No | ||
| webhookId | Yes | ||
| campaignId | No | Target program (campaign) id for this call. Defaults to GROWSURF_CAMPAIGN_ID when omitted. Pass the `id` returned by growsurf_create_campaign to configure or operate a program you just created, without restarting the server. | |
| payloadUrl | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||