---
title: "Get course quiz submissions"
method: POST
path: "/public/get-all-quiz-submissions"
tags: ["Quiz", "Course", "Product"]
---

# Get course quiz submissions

`POST /public/get-all-quiz-submissions`

## Request

- Base URL: `https://backend.codedamn.com/api`
- URL: `https://backend.codedamn.com/api/public/get-all-quiz-submissions`
- Auth: API key in header `FERMION-API-KEY`

Get all quiz submissions for a course product, grouped by quiz. Returns question-wise breakdown with scores.

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
      - `courseIdentifier` union, required
        - object
          - `type` 'course-id', required
          - `digitalProductCourseId` string, required: Course ID
        - object
          - `type` 'course-slug', required
          - `courseSlug` string, required: Course slug

## Response `200`

API Response Body

- object[]
  - `output` union, required
    - object
      - `status` 'ok', required
      - `data` object, required
        - `productId` string, required: ID of the product
        - `productTitle` string, required: Title of the product
        - `quizzes` object[], required: Array of quizzes in the course with their submissions
          - `quizId` string, required: ID of the quiz
          - `quizTitle` string, required: Title of the quiz
          - `totalQuestions` number, required: Total number of questions in the quiz
          - `submissions` object[], required: Array of user submissions for this quiz
            - `fermionUserId` string, required: ID of the user who submitted the quiz
            - `userEmail` union, required: Email of the user. Null if not available
              - …
            - `userName` string, required: Name of the user
            - `submittedAtIso` union, required: Timestamp when the quiz was submitted. Null if not completed
              - …
            - `totalScore` number, required: Total score achieved by the user
            - `maxScore` number, required: Maximum possible score for the quiz
            - `questionBreakdown` object[], required: Detailed breakdown of each question and answer
              - …
    - object
      - `status` 'error', required
      - `errorMessage` string, required

---

[API](https://skmtc.dev/fermion/apis/fermion-backend-api.md) - [All operations](https://skmtc.dev/fermion/apis/fermion-backend-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fermion/apis/fermion-backend-api/revisions/93dda69c8230?raw)
