Get Live Game Data
Get comprehensive live game data including quiz questions, game session, and player count.Query Parameters
6-digit game PIN or quiz ID
User API key for authentication
Return player count as string instead of integer
Wrap response in array
Use 1-based indexing for current question (human-readable)
Response
Game and quiz information
game_id(uuid): Game session IDgame_pin(string): 6-digit game PINtitle(string): Quiz titledescription(string): Quiz descriptionquestions(array): Array of questions with answers marked as correct/incorrectcurrent_question(integer): Current question indextotal_questions(integer): Total number of questionsgame_mode(string): Game modestarted(boolean): Whether game has started
Game session data
admin(string): Admin user IDgame_id(string): Game session IDanswers(array): Array of player answers per question
Player count information
count(integer|string): Number of connected players
Example Response
Get User Count
Get the current number of players in a game.Query Parameters
6-digit game PIN or quiz ID
User API key
Return count as string
Wrap response in array
Response
Get Players List
Get detailed list of all players in a game session.Query Parameters
6-digit game PIN
User API key for authentication
Alternative authentication via game ID
Authentication
Requires eitherapi_key or game_id.
Response
Array of player objects:Player’s username
Socket connection ID
Example Response
Set Question
Manually set the current question number in a live game.Query Parameters
6-digit game PIN or quiz ID
Question index to set (0-based)
User API key
Authentication
Required - Must be the game ownerResponse
Emits a Socket.IO eventset_question_number to all connected clients with:
question_index: The new question indexquestion: The question data
Get Player Scores
Get current leaderboard with player scores.Query Parameters
6-digit game PIN or quiz ID
User API key
Response
Array of player scores sorted by score (highest first):Player’s username
Player’s total score
Example Response
Get Current Question
Get the currently displayed question with answer markings.Query Parameters
6-digit game PIN or quiz ID
User API key
Use 1-based indexing for current question
Response
Array containing the current question with additional metadata:Question text
Question type (ABCD, RANGE, VOTING, etc.)
Array of answers with color codes indicating correctness:
#00F007for correct answers#FF0000for incorrect answers
Current question index
Total number of questions
Example Response
Get Voting Results
Get real-time voting results for the current voting question.Query Parameters
6-digit game PIN or quiz ID
User API key
Wrap response in array
Response
Object with answer text as keys and vote counts as values:API Key Authentication
All live game endpoints require an API key for authentication. You can generate an API key from the user settings page or via the/api/v1/users/api_keys endpoint.