Skip to main content
GET
/
analytics
/
cohorts
Get cohort analytics data
curl --request GET \
  --url https://api.qonversion.io/v4/analytics/cohorts \
  --header 'Authorization: Bearer <token>'
{}

Authorizations

Authorization
string
header
required

Bearer authentication using the project Secret Key (prefixed with sk_, or test_sk_ for sandbox). All v4 public endpoints require the Secret Key — see Authentication. Never expose the Secret Key in client-side code.

Query Parameters

from
integer<int64>

Start of the time range (Unix timestamp, seconds).

to
integer<int64>

End of the time range (Unix timestamp, seconds).

unit
string

Time grouping unit (e.g. day, week, month).

environment
integer

Filter by environment ID.

metric
string

Metric to compute.

period
string

Period granularity (e.g. day, week, month).

currency
string

Currency code for monetary metrics.

filter[]
string[]

Arbitrary filter parameters. Repeatable.

Response

Cohort data from Dash.

Raw cohort payload (shape determined by Dash).