> ## 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.

# Submit quiz answers for a multiplayer room

> Submit quiz answers for a multiplayer room



## OpenAPI

````yaml https://api.arcsolutionsteam.workers.dev/openapi post /api/v1/quiz-submissions/multiplayer/{roomCode}/submissions
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/{roomCode}/submissions:
    post:
      tags:
        - Quiz Submissions Multiplayer
      summary: Submit quiz answers for a multiplayer room
      description: Submit quiz answers for a multiplayer room
      operationId: postApiV1Quiz-submissionsMultiplayerByRoomCodeSubmissions
      parameters:
        - in: path
          name: roomCode
          schema:
            type: string
          required: true
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                questionId:
                  type: string
                  format: uuid
                userAnswer:
                  type: string
                timeTaken:
                  type: number
              required:
                - questionId
                - userAnswer
      responses:
        '201':
          description: Quiz submission successful
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  submission:
                    type: object
                    properties:
                      id:
                        type: string
                        format: uuid
                      userId:
                        type: string
                        format: uuid
                      quizId:
                        type: string
                        format: uuid
                      roomId:
                        type: string
                        format: uuid
                      userScore:
                        type: number
                      correctAnswersCount:
                        type: number
                      createdAt:
                        type: string
                    required:
                      - id
                      - userId
                      - quizId
                      - roomId
                      - userScore
                      - correctAnswersCount
                      - createdAt
                  correctAnswer:
                    type: string
                  calculatedScore:
                    type: number
                  totalQuestions:
                    type: number
                required:
                  - success
                  - submission
                  - correctAnswer
                  - calculatedScore
                  - totalQuestions

````