Skip to main content
Dashboard cards load data either as a batch (single request for many KPIs) or through per-card endpoints. Base path for all examples: https://app.elasticfunnels.io/api/brands/{brand_id}/… with header EF-Access-Key (or session cookie for the SPA).

Batch load: dashboard cards payload

Loads multiple metrics at once for KPI-style cards.

Query parameters

Server behavior

  • Integration gating: If the brand does not have advertising or reconciliation in has_integrations, ad and fulfillment card IDs are omitted from processing.
  • Subscription card IDs: The response may include special_cards placeholders with { "enabled": true } only. Use the subscription analytics endpoints below for real series data.

Response shape (conceptual)

Metric objects inside buckets usually include value, formatted, and often previous_value for period comparison. Exact keys depend on the metric type.

cURL example


Per-card GET endpoints (breakdowns and charts)

These paths are relative to /api/brands/{brand}/. Query params generally mirror the batch endpoint (start, end, tz, funnel_id, and filter[...]). Example:

Subscription analytics (subscription card components)

Base: /api/brands/{brand}/subscriptions/analytics/…. Params typically include start, end, tz, and optional funnel_id and filters.

Split test dashboard cards

Clients may call chart-data with additional query parameters depending on chart type.

Cards without extra HTTP

These rely on /analytics/metrics/cards only, or on parent split-test resources rather than a separate dedicated card endpoint:
  • Video KPIs (average_video_watch_time, video_play_rate, …)
  • Fulfillment KPIs when reconciliation is enabled
  • ad_spend_overview, ad_efficiency, max_cpa_card
  • engagement_overview, active_split_tests, affiliate_performance
  • funnel_conversion, funnel_ctr
  • time_on_page_before_purchase
  • st_test_overview, st_winner_summary, st_sample_size_progress (use parent split-test resource for API)