# POST /social/posts/:post_id/targets/:target_id/thumbnail

**Resource:** [SOCIAL](./social.md)  
**MCP tool:** `set_youtube_video_thumbnail`  
**Scopes:** `social:write`  
**Write operation:** yes

Set the custom thumbnail on a YouTube video that has already posted. file_id is a public PNG or JPG in the workspace files, under 2 MB and 16:9 (for example 1280 by 720). Needs a verified YouTube channel. If YouTube refuses, the reply gives its exact error. With the approval tier it waits in Approvals.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `post_id` | path | string | yes | The social post id. |
| `target_id` | path | string | yes | The YouTube account result (target id from get_social_post). |
| `file_id` | body | string | yes | Id of the picture in the workspace files (PNG or JPG, public, under 2 MB, 16:9). |
| `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/social/posts/:post_id/targets/:target_id/thumbnail"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"file_id":"...","require_approval":"..."}'
```

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