# POST /courses/:course_id/modules

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

Add a module to a training course. Requires a title.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `course_id` | path | string | yes |  |
| `title` | body | string | yes | Module title. |
| `body` | body | string | no | Rich-text body shown with the module content. |
| `position` | body | number | no | Order inside the course, 0-based. Defaults to 0. |
| `video_file_id` | body | string | no | UUID of a company_files video for this module. |
| `pdf_file_id` | body | string | no | UUID of a company_files PDF for this module. |
| `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"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"title":"...","body":"...","position":"..."}'
```

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