Get Program
growsurf_get_campaignFetches GrowSurf campaign (program) details by campaign ID, defaulting to GROWSURF_CAMPAIGN_ID when no ID is supplied. Use it to inspect program settings and embedded reward configuration.
Instructions
Fetch your GrowSurf campaign (program) details via REST. Embedded reward settings do not establish that an individual reward was earned, approved, or delivered. Earned reward records belong to the individual participant. Targets campaignId if supplied, otherwise GROWSURF_CAMPAIGN_ID.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"campaignId": "<campaignId>"
},
"name": "growsurf_get_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaignId | Yes | Target program id for this call: the `id` returned by `growsurf_list_campaigns`, not the program name or a share URL. Defaults to GROWSURF_CAMPAIGN_ID when omitted. Program IDs also identify newly created programs without restarting the server. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The program's unique id. | |
| name | No | The program name (internal only, never shown to participants). | |
| type | No | The program type. | |
| status | No | The program status. | |
| rewards | No | The program's reward configs (`CampaignReward`). Item shape is documented on the `growsurf_list_campaign_rewards` tool. | |
| currencyISO | No | The program currency as an ISO 4217 code (e.g. `USD`). | |
| inviteCount | No | Total invites sent by participants. | |
| winnerCount | No | Participants with at least one approved reward. | |
| referralCount | No | Total referrals. | |
| rewardEvidence | No | What this response establishes about rewards. Combine with other reads; unknown here does not override evidence elsewhere. | |
| impressionCount | No | Total referral-link views across participants. | |
| participantCount | No | Total participants. |