Reports
Campaign reports
With this endpoint you can get the report data grouped by campaigns. Data is updated every
15 minutes
HTTP Request
GET https://firstpromoter.com/api/v1/reports/campaigns
GET
Authorizations
Query Parameters
An array of fields to return on the response. By default selected fields are revenue_amount
, clicks_count
, referrals_count
, customers_count
.
Period to group by. By default is month. For day grouping, reporting period span is limitd at 90 days
Available options:
day
, month
, year
Beginning of reporting period. Default is set as 12 months ago
End of reporting period. Default is set as today
Response
200
application/json
Campaign report response
The response is of type object[]
.