# POST /studio/documents/:id/pages

**Resource:** [STUDIO](./studio.md)  
**MCP tool:** `add_studio_page`  
**Scopes:** `studio:write`  
**Write operation:** yes

Change slides atomically at base_revision. Page order must contain every page exactly once.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `id` | path | string | yes |  |
| `base_revision` | body | integer | yes |  |
| `after_page_id` | body | string | no |  |
| `page` | body | object | no |  |
| `page.id` | body | string | no |  |
| `page.background` | body | object | no |  |
| `page.background.schema_version` | body | string | no |  |
| `page.background.colour_role` | body | string | no |  |
| `page.background.colour` | body | string | no |  |
| `page.background.file_id` | body | string | no |  |
| `page.notes` | body | string | no |  |
| `page.section_title` | body | string | no |  |
| `page.duration_ms` | body | integer,null | no |  |
| `page.layers` | body | array | no |  |
| `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/studio/documents/:id/pages"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"base_revision":"...","after_page_id":"...","page":"..."}'
```

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