growsurf_get_campaign_installation
Retrieve the installation and tracking configuration for a GrowSurf program, returning the complete field set for review or updates. Specify a campaign ID to target a specific program.
Instructions
Fetch the Installation tab configuration for your GrowSurf program (embed/installation and tracking setup). Returns the full object with every field and its current value — the same shape you send back on update. Targets campaignId if you pass it, otherwise GROWSURF_CAMPAIGN_ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mobile | No | GrowSurf iOS and Android SDK settings. | |
| signup | No | Custom signup-form settings (used with `FORM_DETECTION`). | |
| shareUrl | No | The landing page referred friends reach from a referral link. Set this before adding other origins to `allowedUrls`. | |
| allowedUrls | No | Every additional browser origin where the GrowSurf Window or SDK may run, including development origins such as `http://localhost:3000`. Preserve the full array when patching it. An origin absent from both `shareUrl` and this list can return `403`. | |
| signupEvent | No | The signup tracking method: automatic form detection, or participants added via the SDKs and REST API. | |
| referralTrigger | No | Referral programs only. `ON_SIGNUP` counts a referral as soon as the friend signs up; `CUSTOM` also requires a qualifying action. | |
| useGrowSurfHostedLinks | No | Use GrowSurf-hosted referral links that route clicks by the visitor's device. Mainly for mobile apps. |