Skip to main content

Read funnel overview data

Endpoint

/o?method=funneldata

Enterprise Only
This API is available exclusively in Countly Enterprise.

Overview

Returns stored daily funnel summary records for one or more funnel IDs.

Authentication

Countly API supports three authentication methods:

  1. API key query parameter: api_key=YOUR_API_KEY
  2. Auth token query parameter: auth_token=YOUR_AUTH_TOKEN
  3. Auth token header: countly-token: YOUR_AUTH_TOKEN

Permissions

Requires funnels Read permission.

Request Parameters

ParameterTypeRequiredDescription
methodStringYesMust be funneldata.
app_idStringYesTarget app ID.
funnelsJSON String (Array)YesFunnel ID list.
api_keyStringConditionalRequired if auth_token is not provided.
auth_tokenStringConditionalRequired if api_key is not provided.

Configuration Impact

SettingDefaultAffectsUser-visible impact
api.*Server API defaultsShared API execution controls (for example processing thresholds/limits).Changes to API-level controls can affect runtime behavior, limits, or response timing for this endpoint.
funnels.*Funnels feature defaultsFunnels query calculation and result shaping behavior.Changes to funnels settings can affect conversion calculations and output structure.

Response

Success Response

{
"67f1c22912df5acb8f8d5caaf0f89a31": [
{
"_id": "2026-02-14",
"total_users": 1000,
"success_users": 290,
"success_rate": 29,
"users_in_first_step": 820
}
]
}

Response Fields

FieldTypeDescription
(root object)ObjectFunnel-ID keyed map of daily summary rows.
<funnel_id>[]ArrayDaily summary objects for that funnel.
<funnel_id>[]._idStringDay key from stored record (d).
<funnel_id>[].success_rateNumberDaily success percentage.

Error Responses

This endpoint does not expose a dedicated custom error message for malformed funnels JSON; invalid payloads fall back to an empty list result.

Behavior/Processing

  • Parses funnels JSON array.
  • Reads matching records from funneldata by funnel IDs and app ID.
  • Groups rows by funnel_id in response.

Database Collections

CollectionUsed forData touched by this endpoint
countly.funneldataEndpoint data sourceStores endpoint-related records this endpoint reads or modifies.

Examples

/o?
method=funneldata&
app_id=64f5c0d8f4f7ac0012ab3456&
funnels=["67f1c22912df5acb8f8d5caaf0f89a31","67f1c22912df5acb8f8d5caaf0f89a32"]


Last Updated

2026-02-16