> ## 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 a single player quiz

> Submit a single player quiz



## OpenAPI

````yaml https://api.arcsolutionsteam.workers.dev/openapi post /api/v1/quiz-submissions/singleplayer/submit
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/singleplayer/submit:
    post:
      tags:
        - Quiz Submissions Singleplayer
      summary: Submit a single player quiz
      description: Submit a single player quiz
      operationId: postApiV1Quiz-submissionsSingleplayerSubmit
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                quizTitle:
                  type: string
                description:
                  type: string
                topic:
                  type: array
                  items:
                    type: string
                tags:
                  type: array
                  items:
                    type: string
                passingScore:
                  type: number
                language:
                  type: string
                userScore:
                  type: number
                questions:
                  type: array
                  items:
                    type: object
                    properties:
                      text:
                        type: string
                      correctAnswer:
                        type: string
                      userAnswer:
                        type: string
                      options:
                        type: array
                        items:
                          type: string
                    required:
                      - text
                      - correctAnswer
                      - userAnswer
                      - options
                timeTaken:
                  type: number
              required:
                - quizTitle
                - description
                - topic
                - tags
                - passingScore
                - language
                - userScore
                - questions
                - timeTaken
      responses:
        '201':
          description: Quiz submission successful
          content:
            application/json:
              schema:
                type: object
                properties:
                  quizId:
                    type: string
                    format: uuid
                  quizTitle:
                    type: string
                  quizScore:
                    type: number
                  totalTime:
                    type: number
                  correctAnswersCount:
                    type: number
                  totalQuestions:
                    type: number
                  questions:
                    type: array
                    items:
                      type: object
                      properties:
                        text:
                          type: string
                        correctAnswer:
                          type: string
                        userAnswer:
                          type: string
                      required:
                        - text
                        - correctAnswer
                        - userAnswer
                  passingScore:
                    type: number
                required:
                  - quizId
                  - quizTitle
                  - quizScore
                  - totalTime
                  - correctAnswersCount
                  - totalQuestions
                  - questions
                  - passingScore

````