---
title: "PATCH /api/questions/quiz"
method: PATCH
path: "/api/questions/quiz"
tags: ["api"]
---

# PATCH /api/questions/quiz

`PATCH /api/questions/quiz`

## Request body

- QuizQuestionWrite
  - `id` string, uuid
  - `answers` QuizQuestionAnswer[]
    - `id` string, uuid
    - `created` string, date-time
    - `modified` string, date-time
    - `answer` string, required — You must use the Slack nomenclature for the markdown, for more info visit: https://api.slack.com/reference/surfaces/formatting
    - `position` integer
    - `correct` boolean, nullable
    - `explanation` string, nullable — You must use the Slack nomenclature for the markdown, for more info visit: https://api.slack.com/reference/surfaces/formatting
    - `question` string, uuid
  - `editor_content` QuestionEditorStateSerializer
    - `id` string, uuid
    - `note_editor_state` string, nullable
    - `summary_editor_state` string, nullable
    - `question_editor_state` string, nullable
    - `quiz_editor_state` string, nullable
    - `quiz_message_state` string, nullable
    - `content` string[]
  - `image_ids` string[]
  - `custom_video_id` string
  - `created` string, date-time
  - `modified` string, date-time
  - `position` integer
  - `quiz_question_context` string, nullable — You must use the Slack nomenclature for the markdown, for more info visit: https://api.slack.com/reference/surfaces/formatting
  - `answer_type` 'no_action' | 'user_acknowledged' | 'multiple_choice' | 'neutral' | 'written_response' | 'external_url', nullable
  - `external_url` string, uri, nullable
  - `external_url_btn_text` string, nullable
  - `single_select` boolean
  - `quiz` string, uuid, required

## Response `200`

OK

- QuizQuestionWrite
  - `id` string, uuid
  - `answers` QuizQuestionAnswer[]
    - `id` string, uuid
    - `created` string, date-time
    - `modified` string, date-time
    - `answer` string, required — You must use the Slack nomenclature for the markdown, for more info visit: https://api.slack.com/reference/surfaces/formatting
    - `position` integer
    - `correct` boolean, nullable
    - `explanation` string, nullable — You must use the Slack nomenclature for the markdown, for more info visit: https://api.slack.com/reference/surfaces/formatting
    - `question` string, uuid
  - `editor_content` QuestionEditorStateSerializer
    - `id` string, uuid
    - `note_editor_state` string, nullable
    - `summary_editor_state` string, nullable
    - `question_editor_state` string, nullable
    - `quiz_editor_state` string, nullable
    - `quiz_message_state` string, nullable
    - `content` string[]
  - `image_ids` string[]
  - `custom_video_id` string
  - `created` string, date-time
  - `modified` string, date-time
  - `position` integer
  - `quiz_question_context` string, nullable — You must use the Slack nomenclature for the markdown, for more info visit: https://api.slack.com/reference/surfaces/formatting
  - `answer_type` 'no_action' | 'user_acknowledged' | 'multiple_choice' | 'neutral' | 'written_response' | 'external_url', nullable
  - `external_url` string, uri, nullable
  - `external_url_btn_text` string, nullable
  - `single_select` boolean
  - `quiz` string, uuid, required

---

[API](https://skmtc.net/haekka/apis/snippets-api.md) · [All operations](https://skmtc.net/haekka/apis/snippets-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/haekka/snippets-api/revisions/2a72ba99e389/schema)
