Skip to main content
GET
/
analytics
/
charts
/
{chart_code}
Get analytics chart data
curl --request GET \
  --url https://api.qonversion.io/v4/analytics/charts/{chart_code} \
  --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.

Path Parameters

chart_code
string
required

Identifier of the chart to retrieve.

Maximum string length: 64
Pattern: ^[a-z0-9-]+$

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.

max_series
integer

Maximum number of series to return.

segmentation
string

Segmentation dimension.

filter[]
string[]

Arbitrary filter parameters. Repeatable.

Response

Chart data from Dash.

Raw chart payload (shape determined by Dash).