Campaigns and Analytics
Time Series Analytics
Time-bucketed analytics for workspace, link, lead, and sales views
GET
Time Series Analytics
Use these endpoints to render trend charts with consistent date-range controls.Endpoints
Workspace-level trends
GET /api/analytics/workspace/timeseries
Link-level trends
GET /api/analytics/:linkId/timeseries
Conversion-specific trends
GET /api/analytics/leads/timeseriesGET /api/analytics/sales/timeseries
Common query parameters
Rolling lookback window. Server validates and caps range.
Explicit start date/time (overrides inferred start from
days when provided with end).Explicit end date/time.
Bucket size for supported endpoints. Accepted values include
hour, day, month (invalid values are normalized server-side).IANA timezone used for bucket boundaries.
Optional display currency for monetary metrics. Unsupported values fall back to workspace/default currency behavior.
Request example
Response shape
Notes
- Workspace timeseries combines click and unified conversion streams.
- Lead and sales timeseries endpoints are conversion-domain specific and should be used for tab-specific analytics views.
- Cached responses may be briefly stale by design; use refresh/live surfaces for near-real-time monitoring.

