growsurf_create_campaign_webhook
Set up a webhook to receive real-time GrowSurf event notifications, including new participants, goal completions, and commission updates, with optional HMAC-signed deliveries.
Instructions
Add a webhook to your GrowSurf program. payloadUrl is required. events is the list of events this webhook is subscribed to (omit to subscribe it to no events). secret is write-only — GrowSurf uses it to sign deliveries (the GrowSurf-Signature HMAC header) and never returns it. Targets campaignId if you pass it, otherwise GROWSURF_CAMPAIGN_ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| events | No | ||
| secret | No | Write-only. Signs deliveries; never returned. | |
| isEnabled | No | ||
| 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 | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||