# POST /courses/:course_id/modules/:module_id/questions

**Resource:** [COURSES](./courses.md)  
**MCP tool:** `create_course_question`  
**Scopes:** `courses:write`  
**Write operation:** yes

Add a choice question to a course module quiz. Needs prompt, options (2 or more) and correct_index (the one correct option, 0-based). Free-text and multi-answer questions are refused.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `course_id` | path | string | yes |  |
| `module_id` | path | string | yes |  |
| `prompt` | body | string | yes | The question text the learner sees. |
| `options` | body | array | yes | The answer choices in display order. At least 2, each a non-empty string. |
| `correct_index` | body | number | yes | Position (0-based) in options of the single correct answer. Exactly one option is correct. |
| `kind` | body | string | no | Optional. Only "single" (one correct choice) is supported. "multi" and "text" are refused. |
| `points` | body | number | no | Optional whole number, 1 to 1000. Defaults to 1. |
| `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/courses/:course_id/modules/:module_id/questions"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"prompt":"...","options":"...","correct_index":"..."}'
```

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