Reports and analytics
Get Report Options
List the metric ids, channel ids, date range presets and lead condition fields that the report endpoints accept with GET /api/reports.
GET
Get Report Options
Returns what the report endpoints accept: the metric ids per report with their meaning, the channel ids for filters, the date range presets, and the lead fields that conditions can use. It also returns the organization’s currency, timezone and attribution model.
Call it once when you build a report integration. Labels, forms and custom field keys for filters are in
GET /api/workspace.
Reports need an active Octanist plan. Read-only API keys can use this endpoint.
Example Request
Example Response
Lists are shortened.Response Fields
Values
These are the values at the time of writing. The response is the reference. Lead report metrics:total_leads, open_leads, qualified_leads, won_leads, lost_leads, value_won, value_lost, avg_lead_value, total_spend, extra_costs, total_cost, cpl, cpql, cpwl, cpc, qualify_rate, win_rate, close_rate, ctr, clicks, impressions, roas, win_lose_ratio
Traffic report metrics: sessions, visitors, pageviews, session_leads, session_qualified, session_won, session_revenue, session_conversion_rate, revenue_per_session
Ads report metrics: ad_spend, ad_clicks, ad_impressions, ad_ctr, ad_cpc, platform_conversions, cost_per_platform_conversion
Calls report metrics: calls, answered_calls, missed_calls, missed_call_rate, avg_call_duration, call_leads, call_to_lead_rate
Channels: google, meta, microsoft, linkedin, tiktok, x, reddit, snapchat, pinterest, organic, other-paid, manual
Date range presets: today, yesterday, last7days, last14days, thisWeek, lastWeek, last30days, thisMonth, lastMonth, last90days, thisQuarter, lastQuarter, last180days, last365days, thisYear, lastYear
Lead condition fields: email, phone, phone_country, name, note, created_via, visit_country, device, browser, os, landing_domain, landing_path, referrer_host, utm_source, utm_medium, utm_campaign
Error Responses
Get Report Options