Reports
Get reports for promoters
With this endpoint you can get the report data grouped by promoters.
HTTP Request
GET https://v2.firstpromoter.com/api/v2/company/reports/promoters
GET
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
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
Response
200
application/json
Successful response
The response is of type object[]
.