Events (Admin)

Dashboard survey aggregations (Admin)

GET/manage/events/:eventId/dashboard-charts

Return aggregations for the choice questions (singleSelect / multiSelect / toggle / radioButton) marked for dashboard display, counted over confirmed participants (CONFIRMED / CHECKED_IN). Requires the dashboardRead permission.

AuthLogin required

Path parameters

eventIdstringrequired

Event ID or slug.

Response

FieldTypeDescription
aggregationsQuestionAggregation[]One entry per question; `options` holds the count for each choice.
Request
curl https://api.4s.link/manage/events/EVENT_ID/dashboard-charts \
-H "Authorization: Bearer 4s_at_..."
Example response
{
"aggregations": [
{
"questionId": "q1a2b3c4-...",
"questionTitle": "このイベントを何で知りましたか?",
"type": "singleSelect",
"options": [
{ "value": "o1", "label": "SNS", "count": 120 },
{ "value": "o2", "label": "知人の紹介", "count": 64 }
]
}
]
}