Referrals.com MCP by usefulapi

v1.6.1
io.usefulapi/referrals-com Checked 3 days ago Published 1 day ago

Read brands, campaigns and stats; create or update brands and campaigns in Referrals.com.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

referrals_com_get_profile Get account profile

Get the Referrals.com account that the API key belongs to: name, email and plan. Good first call to confirm the key works. API: GET /v1/members/profile.

referrals_com_list_brands List brands

List the brands (websites) in the account. A brand owns campaigns. API: GET /v1/brands.

ParameterTypeDescription
limitintegerItems per page.
pageintegerPage number, starting at 1.

referrals_com_get_brand Get brand

Get one brand by id: its URL, domain, description and logo. API: GET /v1/brands/{brandId}.

ParameterTypeDescription
brand_id *Brand id, from referrals_com_list_brands.

referrals_com_get_brand_stats Get brand stats

Get analytics for one brand: campaigns, participants, shares, clicks and impressions. API: GET /v1/brands/{brandId}/stats.

ParameterTypeDescription
brand_id *Brand id.

referrals_com_create_brand Create brand

Create a brand (a website that runs referral campaigns). Creates a new record; it is not undone by a retry. API: POST /v1/brands.

ParameterTypeDescription
url *stringThe brand website, for example https://mybrand.com.
descriptionstringShort description of the brand.

referrals_com_update_brand Update brand

Change a brand's description or logo URL. Fields you omit stay as they are. API: PUT /v1/brands/{brandId}.

ParameterTypeDescription
brand_id *Brand id to change.
descriptionstringNew description.
logo_urlstringNew logo image URL.

referrals_com_list_campaigns List campaigns

List campaigns, optionally for one brand. API: GET /v1/campaigns.

ParameterTypeDescription
brand_idOnly campaigns of this brand.
limitintegerItems per page.
pageintegerPage number, starting at 1.

referrals_com_get_campaign Get campaign

Get one campaign with its widget, reward and contest settings. API: GET /v1/campaigns/{campaignId}.

ParameterTypeDescription
campaign_id *Campaign id, from referrals_com_list_campaigns.

referrals_com_get_campaign_stats Get campaign stats

Get campaign stats: participants, shares, clicks, impressions and daily signups. API: GET /v1/campaigns/{campaignId}/stats.

ParameterTypeDescription
campaign_id *Campaign id.

referrals_com_create_campaign Create campaign

Create a campaign under a brand. Creates a new record. The reward_type and type_id codes are not listed in the public docs: check them in the dashboard first. API: POST /v1/campaigns.

ParameterTypeDescription
brand_id *Brand the campaign belongs to (the API field is url_id).
name *stringCampaign name, for example Summer Promo.
reward_type *integerReward type code (from the dashboard).
type_id *integerCampaign type code (from the dashboard).

referrals_com_update_campaign Update campaign

Change a campaign's name or publish setting. Fields you omit stay as they are. API: PUT /v1/campaigns/{campaignId}.

ParameterTypeDescription
campaign_id *Campaign id to change.
namestringNew campaign name.
publishstringPublish setting as the API takes it, for example public.

referrals_com_list_participants List participants

List participants (people who joined a referral campaign), optionally for one campaign. API: GET /v1/participants.

ParameterTypeDescription
campaign_idOnly participants of this campaign.
limitintegerItems per page.
pageintegerPage number, starting at 1.

referrals_com_get_participant Get participant

Get one participant with their shares, rewards and invited emails. API: GET /v1/participants/{participantId}.

ParameterTypeDescription
participant_id *Participant id, from referrals_com_list_participants.

referrals_com_list_webhooks List webhooks

List the webhook URLs registered in the account. API: GET /v1/webhooks.

referrals_com_get_lander Get lander settings

Get the lander page settings of one campaign: template, header and footer text, background, brand and social links. API: GET /v1/lander.

ParameterTypeDescription
campaign_id *Campaign id.