---
title: "Get quiz details"
method: POST
path: "/public/get-quiz-details"
tags: ["Quiz"]
---

# Get quiz details

`POST /public/get-quiz-details`

Get details of a quiz from its ID

Authentication with the "FERMION-API-KEY" header is required to use this endpoint.

Rate limit: Maximum 60 requests in a window of 1m.

## Request body

- object
  - `data` object[], required
    - `data` object, required
      - `quizId` string, required — ID of quiz

## Response `200`

API Response Body

- object[]
  - `output` union, required
    - object
      - `status` 'ok', required
      - `data` object, required
        - `createdAtIso` string, date-time, required — The timestamp at which the quiz was created
        - `quizTitle` string, required — Title of the quiz
        - `questions` object[], required — Array of questions in this quiz with their answer options
          - `questionId` string, required — ID of the quiz question
          - `type` 'MultiCorrect' | 'SingleCorrect', required — Type of quiz question (e.g., multiple choice, single choice)
          - `title` string, required — The question text/title to display to users
          - `explanation` union, required — Explanation shown after the question is answered. Null if no explanation is provided
            - string
            - unknown
            - unknown
          - `description` union, required — Additional context or description for the question. Null if no description is provided
            - string
            - unknown
            - unknown
          - `options` object[], required — Array of answer options for this question
            - `optionId` string, required — ID of the quiz question option
            - `text` string, required — Text content of this answer option
            - `isCorrectOption` boolean, required — Whether this option is a correct answer for the question
    - object
      - `status` 'error', required
      - `errorMessage` string, required

---

[API](https://skmtc.net/fermion/apis/fermion-backend-api.md) · [All operations](https://skmtc.net/fermion/apis/fermion-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/fermion/fermion-backend-api/versions/7ce364c8820b/schema)
