---
title: "Get Quiz"
method: GET
path: "/api/quizzes/{topic}"
tags: ["Quizzes"]
---

# Get Quiz

`GET /api/quizzes/{topic}`

## Request

- Base URL: `https://api.earmarkiq.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.earmarkiq.app/api/quizzes/{topic}`
- Auth: none declared

Get quiz questions for a topic.

## Path parameters

- `topic` string, required

## Response `200`

Successful Response

- QuizQuestionsResponse
  - `topic` string, required
  - `title` string, required
  - `description` string, required
  - `questions` QuizQuestion[], required
    - `index` integer, required
    - `question` string, required
    - `options` string[], required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/earmarkiq/apis/earmark-api.md) · [All operations](https://skmtc.dev/earmarkiq/apis/earmark-api/llms.txt) · [OpenAPI document](https://skmtc.dev/earmarkiq/apis/earmark-api/revisions/4a2c41907105?raw)
