# POST /quizzes/:quiz_id/questions

**Resource:** [QUIZZES](./quizzes.md)  
**MCP tool:** `add_quiz_question`  
**Scopes:** `quizzes:write`  
**Write operation:** yes

Add a question to a quiz. A scorecard takes single, multi (option_points for every option), scale (points for 10 out of 10), text and long (not scored) and number (a number, money or a percentage with min, max, step and format; not scored), each optionally in a category. Every question has a key that calculated results use (made from the question when you leave it blank). A test takes single (correct_index) and multi (correct_indexes), worth points (default 1).

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `quiz_id` | path | string | yes | The quiz (list_quizzes). |
| `kind` | body | string | no | single (One answer), multi (Several answers), scale (1 to 10, scorecards), number (A number, an amount of money or a percentage; scorecards and gifts, never scored; give min, max, step and format), text (Short text; scorecards and gifts, never scored), long (Long text, a paragraph box; scorecards and gifts, never scored), website (Their website, gifts), file (A file or photo, gifts). Defaults to single. |
| `prompt` | body | string | yes | The question as the person reads it. Required when adding. |
| `help` | body | string | no | A line under the question that helps them answer. Send null to clear. |
| `options` | body | array | no | single and multi: the answers in the order shown, 2 to 20. |
| `option_points` | body | array | no | Scorecards: points for each option, same order as options, e.g. [10, 6, 3, 0] (multi adds the ticked ones up). |
| `correct_index` | body | number | no | Tests, single: the position (from 0) of the right answer in options. |
| `correct_indexes` | body | array | no | Tests, multi: the positions (from 0) of every right answer. |
| `points` | body | number | no | Tests: what a right answer is worth (default 1). Scorecards, scale: what 10 out of 10 is worth. |
| `category_id` | body | string | no | Scorecards: the category this question counts towards (get_quiz lists them). Send null to clear. |
| `required` | body | boolean | no | true (default): they must answer it. false: they can skip it. |
| `allow_other` | body | boolean | no | single and multi: add a "Something else" box they can type in. |
| `key` | body | string | no | The short name calculated results use for this question: lower case letters, digits and underscores, starting with a letter, unique in the gift or quiz, like purchase_price. Left blank it is made from the question (a formula says price * 0.05). Changing it is refused while a formula uses it. |
| `min` | body | number | no | number questions: the lowest answer they can give. Send null for no lowest. |
| `max` | body | number | no | number questions: the highest answer they can give. Send null for no highest. |
| `step` | body | number | no | number questions: the size of each step up or down on the page (1000 for dollars, 0.25 for a rate). Typing any value between min and max is still fine. Send null for none. |
| `format` | body | string | no | number questions: plain (30), money (a dollar amount in your currency) or percent (6 means 6%). Default plain. |
| `require_approval` | body | boolean | no | Optional. Set true to route this write into the approval queue for human review instead of executing it immediately (returns 202 + an approval_id). Works even when your key/token has permission to execute directly. |

## Request example

```bash
curl -X POST   "https://api.trustpager.com/functions/v1/api/v1/quizzes/:quiz_id/questions"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"kind":"...","prompt":"...","help":"..."}'
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`