| Endpoint essentials | |
|---|---|
| API key access | api/v1/reports/sync_report or Master API key |
| OAuth scopes | report_sync |
| Credit usage | 0 creditsLearn more about API pricing and credits. |
Use the Query Analytics Report endpoint to programmatically query Apollo analytics and retrieve aggregated sales activity data for your team.
This endpoint accepts a flexible payload specifying which metrics to measure, how to group and filter results, and which date range to apply — returning the same data that powers Apollo's built-in Analytics dashboards.
Three query modes are supported: flat totals (no group_by), grouped by one dimension such as user or sequence, and pivot cross-tab (one group_by dimension as rows + one pivot_group_by dimension as columns). Each array supports a maximum of one entry.
When creating or editing an API key in Apollo Settings, open the APIs tab and select api/v1/reports/sync_report. Check out Create an API Key for detailed instructions.
Tip: The easiest way to discover valid metric and group_by combinations is to build a report interactively at Apollo Analytics → Start from scratch, then replicate that configuration in your API request.