Send Test Webhook
growsurf_test_campaign_webhookSend a live test event to a GrowSurf webhook to verify its endpoint and payload handling. Choose an event type or use the first enabled event; returns the mock payload and response.
Instructions
Send a live test event to a webhook on your GrowSurf program using its stored URL and secret. Optionally pass event to choose which event type to simulate; when omitted, the webhook's first enabled event is used (returns 400 if the webhook has no enabled events). Returns the mock payload and the receiving endpoint's response. Targets campaignId if you pass it, otherwise GROWSURF_CAMPAIGN_ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event | No | ||
| webhookId | Yes | ||
| campaignId | No | Target program (campaign) id for this call. Defaults to GROWSURF_CAMPAIGN_ID when omitted. Program IDs also identify newly created programs without restarting the server. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | No | The mock event payload that was sent. | |
| success | No | Whether the test webhook request completed. | |
| response | No | Response returned by the webhook endpoint during the test. |