Reports
Get reports for URLs
With this endpoint you can get the report data grouped by URLs.
HTTP Request
GET https://v2.firstpromoter.com/api/v2/company/reports/urls
GET
Authorizations
Access token passed as a Bearer token in the Authorization header
Headers
Account identifier that specifies which account is making the request
Example:
"acc_123456"
Query Parameters
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
, url
Available options:
day
, week
, month
, year
Response
200
application/json
Successful response
The response is of type object[]
.