# POST /files/upload-complete

**Resource:** [Files](./files.md)  
**MCP tool:** `complete_video_upload`  
**Scopes:** `files:write`  
**Write operation:** yes

Step 2 of a video upload: after PUTting the bytes to the upload_url from create_video_upload_url, call this with its file_path to add the video to the Files library (category "videos"). Returns the file with its public trustpager.net download_url. Calling it again for the same file_path returns the same file and charges nothing.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `file_path` | body | string | yes | The file_path returned by create_video_upload_url. |
| `name` | body | string | yes | The name to show in Files (e.g. "sales-film.mp4"). |
| `folder` | body | string | no | Optional folder to file the video under. |
| `description` | body | string | no | Optional description stored with the file. |
| `tags` | body | array | no | Optional tags, as for upload_file (names, or {name, color} objects). Max 10. |
| `purpose` | body | string | no | Optional. 'social_post' marks a video uploaded only to be posted; it is removed from Files after it has posted. |
| `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/files/upload-complete"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"file_path":"...","name":"...","folder":"..."}'
```

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