cURL
curl --request GET \ --url https://api.firstpromoter.com/api/v2/affiliate/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>" } } ]
Access token passed as a Bearer token in the Authorization header
Account identifier that specifies which account is making the request
"acc_123456"
If provided, it returns only the links related to the given campaign
List of referral links
campaign
promoter
Show child attributes