GrowSurf MCP by usefulapi

v1.2.1
io.usefulapi/growsurf Checked 3 days ago Published 1 day ago

Read 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}.

ParameterTypeDescription
campaign_id *stringCampaign (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.

ParameterTypeDescription
campaign_id *stringCampaign (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.

ParameterTypeDescription
campaign_id *stringCampaign (program) id, from growsurf_list_campaigns.
group_idstringOnly 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.

ParameterTypeDescription
campaign_id *stringCampaign (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.

ParameterTypeDescription
campaign_id *stringCampaign (program) id, from growsurf_list_campaigns.
daysintegerLook back this many days (default 365). Not used with start_date and end_date.
end_datestringEnd date (UTC, inclusive), yyyy-mm-dd. Send with start_date.
includearrayOptional blocks to add. timezone and platform apply only when this includes engagement.
intervalstringSeries interval.
platformstringPlatform filter for engagement. Needs include engagement.
start_datestringStart date (UTC), yyyy-mm-dd. Send with end_date.
timezonestringIANA 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.

ParameterTypeDescription
campaign_id *stringCampaign (program) id, from growsurf_list_campaigns.
group_idstringOnly participants in this reward group id.
limitintegerItems per page.
next_idstringPass 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}.

ParameterTypeDescription
campaign_id *stringCampaign (program) id, from growsurf_list_campaigns.
participant *stringParticipant 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.

ParameterTypeDescription
campaign_id *stringCampaign (program) id, from growsurf_list_campaigns.
is_monthlybooleantrue for the current month only.
leaderboard_typestringOrdering mode, e.g. BY_REFERRALS (default ALL_TIME).
limitintegerItems per page.
next_idstringPass 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.

ParameterTypeDescription
campaign_id *stringCampaign (program) id, from growsurf_list_campaigns.
descbooleanSort descending.
emailstringOnly referrals with this email.
limitintegerItems per page.
next_idstringPass the nextId from the previous page to get the next page.
offsetintegerOffset for paging.
referral_statusstringOnly referrals with this status.
sort_bystringSort 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.

ParameterTypeDescription
campaign_id *stringCampaign (program) id, from growsurf_list_campaigns.
participant *stringParticipant id or email address.
limitintegerItems per page.
offsetintegerOffset 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.

ParameterTypeDescription
campaign_id *stringCampaign (program) id, from growsurf_list_campaigns.
participant *stringParticipant id or email address.
limitintegerItems per page.
next_idstringPass 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.

ParameterTypeDescription
campaign_id *stringCampaign (program) id, from growsurf_list_campaigns.
limitintegerItems per page.
next_idstringPass the nextId from the previous page to get the next page.
statusstringOnly 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.

ParameterTypeDescription
campaign_id *stringCampaign (program) id, from growsurf_list_campaigns.
limitintegerItems per page.
next_idstringPass the nextId from the previous page to get the next page.
statusstringOnly 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.

ParameterTypeDescription
campaign_id *stringCampaign (program) id, from growsurf_list_campaigns.
limitintegerItems per page.
offsetintegerOffset for paging.
statusstringOnly 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.

ParameterTypeDescription
campaign_id *stringCampaign (program) id, from growsurf_list_campaigns.
email *stringThe participant's email address.
is_affiliate *booleanRequired. Affiliate programs: true enrolls the participant as an APPROVED affiliate; false adds a non-affiliate. Referral programs: send false.
first_namestringFirst name.
group_idstringReward group id to put the participant in.
languagestringLanguage code, e.g. en.
last_namestringLast 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}.

ParameterTypeDescription
campaign_id *stringCampaign (program) id, from growsurf_list_campaigns.
participant *stringParticipant id or email address.
emailstringNew email address.
first_namestringFirst name.
group_idstring | nullReward group id, or null to clear it.
languagestring | nullLanguage code, or null to clear it.
last_namestringLast name.
notesstringInternal notes (not shown to the participant).
unsubscribedbooleantrue to stop the participant's program emails.