> ## Documentation Index
> Fetch the complete documentation index at: https://docs.intelliq.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Get the leaderboard for a multiplayer room

> Get the leaderboard for a multiplayer room



## OpenAPI

````yaml https://api.arcsolutionsteam.workers.dev/openapi get /api/v1/quiz-submissions/multiplayer/{roomId}/leaderboard
openapi: 3.1.0
info:
  title: IntelliQ API
  description: API for IntelliQ
  version: 2.0.0
servers:
  - url: http://localhost:8787
    description: Local server
  - url: https://app.intelliq.dev
    description: Production server
security: []
paths:
  /api/v1/quiz-submissions/multiplayer/{roomId}/leaderboard:
    get:
      tags:
        - Quiz Submissions Multiplayer
      summary: Get the leaderboard for a multiplayer room
      description: Get the leaderboard for a multiplayer room
      operationId: getApiV1Quiz-submissionsMultiplayerByRoomIdLeaderboard
      parameters:
        - in: path
          name: roomId
          schema:
            type: string
            format: uuid
          required: true
      responses:
        '200':
          description: Leaderboard retrieved successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  leaderboard:
                    type: array
                    items:
                      type: object
                      properties:
                        userName:
                          type: string
                        userId:
                          type: string
                          format: uuid
                        score:
                          type: number
                        correctAnswers:
                          type: number
                        avgTimeTaken:
                          type: number
                        totalQuestions:
                          type: number
                        questions:
                          type: array
                          items:
                            type: object
                            properties:
                              text:
                                type: string
                              correctAnswer:
                                type: string
                              userAnswer:
                                type: string
                              timeTaken:
                                type: number
                            required:
                              - text
                              - correctAnswer
                              - userAnswer
                              - timeTaken
                      required:
                        - userName
                        - userId
                        - score
                        - correctAnswers
                        - avgTimeTaken
                        - totalQuestions
                        - questions
                required:
                  - leaderboard

````