Referrals.com MCP by usefulapi
v1.6.1Read 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.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Items per page. |
page | integer | Page 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}.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
url * | string | The brand website, for example https://mybrand.com. |
description | string | Short 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}.
| Parameter | Type | Description |
|---|---|---|
brand_id * | Brand id to change. | |
description | string | New description. |
logo_url | string | New logo image URL. |
referrals_com_list_campaigns List campaigns
List campaigns, optionally for one brand. API: GET /v1/campaigns.
| Parameter | Type | Description |
|---|---|---|
brand_id | Only campaigns of this brand. | |
limit | integer | Items per page. |
page | integer | Page 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}.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
brand_id * | Brand the campaign belongs to (the API field is url_id). | |
name * | string | Campaign name, for example Summer Promo. |
reward_type * | integer | Reward type code (from the dashboard). |
type_id * | integer | Campaign 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}.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | Campaign id to change. | |
name | string | New campaign name. |
publish | string | Publish 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.
| Parameter | Type | Description |
|---|---|---|
campaign_id | Only participants of this campaign. | |
limit | integer | Items per page. |
page | integer | Page 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}.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | Campaign id. |