# POST /quizzes/:quiz_id/attempts/:attempt_id/allow-retake

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

Let someone take the quiz again: this attempt stops counting towards their limit. Their score stays on record.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `quiz_id` | path | string | yes | The quiz (list_quizzes). |
| `attempt_id` | path | string | yes |  |
| `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/attempts/:attempt_id/allow-retake"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"require_approval":"..."}'
```

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