cURL
curl --request GET \ --url https://v2.firstpromoter.com/api/v2/affiliate/reports/overview \ --header 'Account-ID: <account-id>' \ --header 'Authorization: Bearer <token>'
[ { "period": "<string>", "id": "<string>", "data": { "revenue_amount": 123, "net_revenue_amount": 123, "promoter_earnings_amount": 123, "customers_count": 123, "referrals_count": 123, "clicks_count": 123, "active_customers": 123, "3m_epc": 123 } } ]
Access token passed as a Bearer token in the Authorization header
Account identifier that specifies which account is making the request
"acc_123456"
Show child attributes
day
week
month
year
Successful response
The response is of type object[].
object[]