cURL
curl --request GET \ --url https://api.firstpromoter.com/api/v2/affiliate/campaigns \ --header 'Account-ID: <account-id>' \ --header 'Authorization: Bearer <token>'
[ { "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"
Successful operation
ID of the campaign
Name of the campaign
Color associated with the campaign