Match Games Analytics API
Route: POST /api/groups/match-games
Get analytics data for match game usage by students within a group, including games created, games played, and match accuracy with optional student-level breakdowns.
Authentication
This endpoint requires authentication using an API key. Header Required:Parameters
Query Parameters
Response Format
Group-Level Data (students=false)
Returns aggregated match game analytics for the entire group.Student-Level Data (students=true)
Returns individual student match game analytics.Data Fields Explained
Match Game Metrics
- Games Made: Number of match games created by students
- Games Played: Total number of match game sessions played
- Correct Matches: Number of correct matches made during gameplay
- Incorrect Matches: Number of incorrect matches made during gameplay
Additional Fields
- numStudentsUsed (Group-level only): Number of unique students who used match game features
- studentName (Student-level only): Display name of the student
- studentId (Student-level only): Unique identifier for the student
Error Responses
403 Unauthorized
Returned when API key is missing or invalid.- Missing
x-api-keyheader - Invalid API key
- API key not associated with a valid group plan
400 Bad Request
Returned when required parameters are missing.Notes
- Reports are automatically sorted by start date in ascending order
- Date ranges are inclusive of both start and end dates
- All timestamps should be in ISO 8601 format