v1
latestOpenAPI 3.0.32026-07-248519153.1 KBGet quiz answers analytics data
Retrieve user response analytics for a specific quiz showing distribution of answers across screens. This endpoint returns data for creating charts showing how users answered each question in the quiz.
Query parameters
Project ID to analyze
Quiz ID to analyze
Start date for analysis (YYYY-MM-DD). Defaults to 30 days ago.
End date for analysis (YYYY-MM-DD). Defaults to today.
When true (default), scope answer data to users who visited this quiz. When false, include all project users in the date range (labels still come from this quiz's screens).
Limit to specific published quiz versions. Omit for all versions.
When true, include only users with at least one paid subscription.
Segment respondents by a user property name (e.g. utm_source).
Required value for answers_user_property segmentation.
Headers
API key for authentication
Response
Analytics data retrieved successfully
Example response
{
"success": true,
"data": [
{
"screen_id": "screen_1",
"screen_title": "Screen screen_1: What is your age?",
"total_responses": 150,
"chart_data": {
"labels": [
"18-25",
"26-35",
"36-45"
],
"datasets": [
{
"label": "Unique Users",
"data": [
50,
75,
25
],
"backgroundColor": [
"#FF6384",
"#36A2EB",
"#FFCE56"
]
}
]
}
}
],
"quiz": {
"id": 456,
"name": "Customer Survey",
"screens_count": 5
},
"period": {
"from": "2024-01-01",
"to": "2024-01-31"
}
}