Get reports for traffic sources
Reports
Get reports for traffic sources
With this endpoint you can get the report data grouped by traffic sources.
GET
Get reports for traffic sources
Authorizations
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 → Manage API Keys
Headers
Account id. You can find your Account ID on Your FirstPromoter Dashboard. Navigate to Settings → Integrations
Example:
"acc_123456"
Query Parameters
Fields to be included in the report
Available options:
clicks_count, revenue_amount, promoter_earnings_amount, referrals_count, customers_count, sales_count, refunds_count, cancelled_customers_count, referrals_to_customers_cr, clicks_to_customers_cr, clicks_to_referrals_cr Search query string
Time period grouping
Available options:
day, week, month, year Start date for the report period
End date for the report period
Sorting parameters