# POST /social/posts

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

Write a post to one or more connected accounts (YouTube, Facebook, Instagram, LinkedIn), now, at a set time, or in the queue. Media comes from workspace files (public ones). With the approval tier it waits in Approvals and nothing is posted until a person approves. A YouTube video defaults to private.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `body` | body | string | no | The post text (YouTube: used as the description unless options.description is given). |
| `media_file_ids` | body | array | no | Ids of public pictures or videos in the workspace files. YouTube needs a video; Instagram needs a picture or video; LinkedIn takes pictures. |
| `thumbnail_file_id` | body | string | no | YouTube only: a picture file (under 2 MB) to use as the custom thumbnail. |
| `targets` | body | array | yes | Where the post goes. One entry per account. integration_id comes from list_social_accounts. For a Facebook Page that has Instagram linked, send platform "instagram" to post to the Instagram account instead of the Page. options holds the per-account fields. YouTube: title (required), description, tags (array), visibility (public, unlisted or private; default private), publish_at (ISO time, makes it private until then), category_id. Facebook: title (videos), link (text posts). Facebook and Instagram: first_comment (up to 2,200 characters, posted as a comment by the account straight after the post goes live; only for accounts whose can_comment_on in list_social_accounts names that network). LinkedIn: alt_text for a picture. |
| `mode` | body | string | no | now (within a minute), scheduled (at scheduled_at), or queue (the next free 9:00 slot in the workspace time zone). Default now. |
| `scheduled_at` | body | string | no | For mode scheduled: ISO 8601 time with a time zone offset, e.g. 2026-11-03T09:00:00+11:00. |
| `timezone` | body | string | no | IANA time zone for queue slots. Default: the workspace time zone, else Australia/Sydney. |
| `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"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"body":"...","media_file_ids":"...","thumbnail_file_id":"..."}'
```

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