---
title: "Quiz"
method: GET
path: "/clubs/{club_id}/quizzes/{id}"
tags: ["Quiz"]
---

# Quiz

`GET /clubs/{club_id}/quizzes/{id}`

## Request

- Base URL: `https://api.clubplatform.de/api`
- URL: `https://api.clubplatform.de/api/clubs/{club_id}/quizzes/{id}`
- Auth: API key in query parameter `auth_token`

Returns a quiz by ID.

## Path parameters

- `club_id` integer, required
- `id` integer, required

## Headers

- `If-Modified-Since` string, date-time

## Response `200`

OK

- object
  - `data` object
    - `id` integer: ID of the quiz.
    - `title` string: Title of the quiz.
    - `description` string: Description of the quiz.
    - `handle` string: Handle of the quiz.
    - `locale` string: Locale of the object. 'de-DE', 'en-GB' or 'nl-NL'. This locale must be whitelisted for your club!
    - `number_of_questions` integer: Number of questions of the quiz (1-20).
    - `number_of_point_classes` integer: Number of point classes of the quiz (1-10).
    - `point_classes` object[]: List of point classes.
      - `from` integer
      - `to` integer
      - `description` string
    - `images` object[]: List of images.
      - `orientation` string: Orientation of the image. "landscape" or "portrait"
      - `url` string: URL of the iamge.
    - `questions` object[]: List of questions.
      - `id` integer: ID of the question.
      - `number_of_answers` integer: The number of answers
      - `question` string: Text of the question
      - `question_image` object: optional
        - `url` string: URL of the image.
      - `question_solution` string: Text of the solution to the question
      - `answers` object[]: List of answers.
        - `id` integer: ID of the answer.
        - `answer` string: Text of the answer
        - `is_correct` boolean: one out of all answers should have set is_correct to true => this is the solution
        - `answer_image` object: optional
          - `url` string: URL of the image.

## Other responses

- `304`: Not Modified
- `401`: Unauthorized
- `404`: Not Found

---

[API](https://skmtc.dev/clubplatform/apis/clubplatform-api.md) - [All operations](https://skmtc.dev/clubplatform/apis/clubplatform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/clubplatform/apis/clubplatform-api/revisions/5c107a185e03?raw)
