GrowSurf MCP by usefulapi
v1.2.1Read referral campaigns, participants and rewards; add or update participants in GrowSurf.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
growsurf_get_team Get team
Get the team that owns the API key: its name and verification status. A program cannot send participant emails until the team is VERIFIED. GET /team.
growsurf_list_campaigns List campaigns
List the referral and affiliate programs (campaigns) of the team, with their ids and status. Good first call. GET /campaigns.
growsurf_get_campaign Get campaign
Get one campaign: name, type, status, counts of participants, referrals, impressions, invites and winners, and its rewards. GET /campaign/{id}.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | string | Campaign (program) id, from growsurf_list_campaigns. |
growsurf_list_reward_groups List reward groups
List the reward groups of a campaign (participants can belong to a group with its own rewards). GET /campaign/{id}/groups.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | string | Campaign (program) id, from growsurf_list_campaigns. |
growsurf_list_campaign_rewards List campaign rewards
List the reward configurations of a campaign, optionally for one reward group. GET /campaign/{id}/reward-configs.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | string | Campaign (program) id, from growsurf_list_campaigns. |
group_id | string | Only rewards for this reward group id. |
growsurf_list_webhooks List webhooks
List the webhooks of a campaign: their URLs and the events they receive. GET /campaign/{id}/webhooks.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | string | Campaign (program) id, from growsurf_list_campaigns. |
growsurf_get_campaign_analytics Get campaign analytics
Get aggregate analytics for a campaign: referrals, impressions, rates and series over a period. Use days, or startDate and endDate (YYYY-MM-DD). GET /campaign/{id}/analytics.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | string | Campaign (program) id, from growsurf_list_campaigns. |
days | integer | Look back this many days (default 365). Not used with start_date and end_date. |
end_date | string | End date (UTC, inclusive), yyyy-mm-dd. Send with start_date. |
include | array | Optional blocks to add. timezone and platform apply only when this includes engagement. |
interval | string | Series interval. |
platform | string | Platform filter for engagement. Needs include engagement. |
start_date | string | Start date (UTC), yyyy-mm-dd. Send with end_date. |
timezone | string | IANA timezone for engagement boundaries, e.g. Europe/Prague. Needs include engagement. |
growsurf_list_participants List participants
List participants of a campaign, one page at a time, with their referral counts and rank. Pass nextId to page on. GET /campaign/{id}/participants.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | string | Campaign (program) id, from growsurf_list_campaigns. |
group_id | string | Only participants in this reward group id. |
limit | integer | Items per page. |
next_id | string | Pass the nextId from the previous page to get the next page. |
growsurf_get_participant Get participant
Get one participant: referral counts, rank, share URL, group, language, status and rewards. GET /campaign/{id}/participant/{participantIdOrEmail}.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | string | Campaign (program) id, from growsurf_list_campaigns. |
participant * | string | Participant id or email address. |
growsurf_list_leaderboard List leaderboard
List the leaderboard of a campaign: participants ranked by referrals, for all time or this month. Pass nextId to page on. GET /campaign/{id}/leaderboard.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | string | Campaign (program) id, from growsurf_list_campaigns. |
is_monthly | boolean | true for the current month only. |
leaderboard_type | string | Ordering mode, e.g. BY_REFERRALS (default ALL_TIME). |
limit | integer | Items per page. |
next_id | string | Pass the nextId from the previous page to get the next page. |
growsurf_list_referrals List referrals
List referrals and invites of a campaign, filtered by status or email. Use offset or nextId to page. GET /campaign/{id}/referrals.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | string | Campaign (program) id, from growsurf_list_campaigns. |
desc | boolean | Sort descending. |
email | string | Only referrals with this email. |
limit | integer | Items per page. |
next_id | string | Pass the nextId from the previous page to get the next page. |
offset | integer | Offset for paging. |
referral_status | string | Only referrals with this status. |
sort_by | string | Sort field. |
growsurf_list_participant_activity_logs List participant activity
List the activity log of one participant (events in the campaign). GET /campaign/{id}/participant/{participantIdOrEmail}/activity-logs.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | string | Campaign (program) id, from growsurf_list_campaigns. |
participant * | string | Participant id or email address. |
limit | integer | Items per page. |
offset | integer | Offset for paging. |
growsurf_list_participant_rewards List participant rewards
List the rewards one participant has earned in a campaign, with their status. Reads only: approving or paying is not available here. GET /campaign/{id}/participant/{participantIdOrEmail}/rewards.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | string | Campaign (program) id, from growsurf_list_campaigns. |
participant * | string | Participant id or email address. |
limit | integer | Items per page. |
next_id | string | Pass the nextId from the previous page to get the next page. |
growsurf_list_commissions List commissions
List affiliate commissions of a campaign, optionally filtered by status. Pass nextId to page on. GET /campaign/{id}/commissions.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | string | Campaign (program) id, from growsurf_list_campaigns. |
limit | integer | Items per page. |
next_id | string | Pass the nextId from the previous page to get the next page. |
status | string | Only commissions with this status. |
growsurf_list_payouts List payouts
List affiliate payouts of a campaign, optionally filtered by status. Reads only. Pass nextId to page on. GET /campaign/{id}/payouts.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | string | Campaign (program) id, from growsurf_list_campaigns. |
limit | integer | Items per page. |
next_id | string | Pass the nextId from the previous page to get the next page. |
status | string | Only payouts with this status. |
growsurf_list_affiliate_applications List affiliate applications
List affiliate applications of an affiliate campaign, by status (PENDING, APPROVED or DENIED). Reads only: reviewing is not available here. GET /campaign/{id}/affiliate-applications.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | string | Campaign (program) id, from growsurf_list_campaigns. |
limit | integer | Items per page. |
offset | integer | Offset for paging. |
status | string | Only applications with this status. |
growsurf_create_participant Add participant
Add one participant to a campaign. This changes program data; the campaign's own email settings decide any emails sent. POST /campaign/{id}/participant.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | string | Campaign (program) id, from growsurf_list_campaigns. |
email * | string | The participant's email address. |
is_affiliate * | boolean | Required. Affiliate programs: true enrolls the participant as an APPROVED affiliate; false adds a non-affiliate. Referral programs: send false. |
first_name | string | First name. |
group_id | string | Reward group id to put the participant in. |
language | string | Language code, e.g. en. |
last_name | string | Last name. |
growsurf_update_participant Update participant
Update one participant's name, email, group, language, notes or unsubscribed flag. Changes only the fields you pass. POST /campaign/{id}/participant/{participantIdOrEmail}.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | string | Campaign (program) id, from growsurf_list_campaigns. |
participant * | string | Participant id or email address. |
email | string | New email address. |
first_name | string | First name. |
group_id | string | null | Reward group id, or null to clear it. |
language | string | null | Language code, or null to clear it. |
last_name | string | Last name. |
notes | string | Internal notes (not shown to the participant). |
unsubscribed | boolean | true to stop the participant's program emails. |