# POST /studio/captures

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

Take a picture of a public web page as a visitor sees it (usually under a minute, in the background) and save it to Files as a PNG with its width, height and main parts (main heading, main button, navigation, form) as named boxes, ready to use as a Studio screen. Returns the capture to follow with get_studio_capture. Only public websites: addresses that are not http or https, number addresses, internal names and private networks are refused. One capture at a time per workspace. Charged like a picture export; a capture that fails gives its credits back.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `url` | body | string | yes | The web address, for example https://yourbusiness.com.au/book |
| `viewport` | body | object | no | The picture size in pixels (default 1600 by 1000). |
| `viewport.w` | body | integer | no |  |
| `viewport.h` | body | integer | 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/captures"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"url":"...","viewport":"...","viewport.w":"..."}'
```

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