---
title: "Fix a quiz's answer key (allowed after people have answered; every score updates)"
method: PUT
path: "/api/admin/{slug}/answers"
---

# Fix a quiz's answer key (allowed after people have answered; every score updates)

`PUT /api/admin/{slug}/answers`

## Request

- Base URL: `https://qrvote.org`
- URL: `https://qrvote.org/api/admin/{slug}/answers`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://qrvote.org/authorize`, token URL `https://qrvote.org/oauth/token`, scopes: `read`, `manage`)

Body: { answers: { <question id>: key | null } }. The key is an option index (single; yes/no uses 1 = yes, 0 = no), a list of option indexes (multi, all must match), or a list of accepted texts (short; case, accents and punctuation are ignored). null stops scoring that question. At least one question must stay scored.

## Path parameters

- `slug` string, required

## Request body

- object
  - `answers` object, required

## Response `200`

OK

- object

---

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