GET
/
promoter_campaigns
/
{id}
/
referral_links
Get promoter campaign referral links
curl --request GET \
  --url https://v2.firstpromoter.com/api/v2/company/promoter_campaigns/{id}/referral_links \
  --header 'Account-ID: <account-id>' \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": 123,
    "name": "<string>",
    "url": "<string>",
    "is_default": true,
    "source": "campaign",
    "sub_id": "<string>",
    "campaign": {
      "id": 123,
      "name": "<string>",
      "color": "<string>"
    }
  }
]

Authorizations

Authorization
string
header
required

API key passed as a Bearer token in the Authorization header. You can find your API Key on Your FirstPromoter Dashboard. Navigate to Settings → Integrations section → Manage API Keys

Headers

Account-ID
string
required

Account identifier that specifies which account is making the request

Path Parameters

id
integer
required

Promoter campaign ID

Response

List of referral links

id
integer
name
string
url
string
is_default
boolean
source
enum<string>
Available options:
campaign,
promoter
sub_id
string
campaign
object