Reports and revenue
/api/reports/dataThe aggregated dataset behind the Reports page and its PDF export.
reports:readQuery parameters
| to | ISO date | Required. Exclusive end of the period. |
| from | ISO date | Start of the period. Leave it out for all time. |
| compareFrom | ISO date | Start of the comparison period; send with compareTo. |
| compareTo | ISO date | Exclusive end of the comparison period. |
| granularity | string | day, week, month or auto (the default) for the trend buckets. |
| tz | string | IANA time zone used to bucket by day, e.g. Asia/Kolkata. Defaults to UTC. |
Returns. { kpis, pipeline, series, leads, calls, team, topOpenDeals, topWonDeals } — each metric with its comparison value. Members in restricted lead visibility get their assigned leads only.
/api/revenueRevenue summary.
revenue:viewQuery parameters
| target | number | A revenue target to compare achievement against. |
/api/currency/ratesExchange rates used to display values in your chosen currency.