YouTube
YouTube is one of Socifyr's 18 supported platforms — publish from the dashboard, REST API, CLI, SDK, or MCP server.
At a glance
| Video | 256 GB / 12 h |
| Photos | — |
| Text | 5,000 chars (title ≤100) |
| Daily post cap | 10 / rolling 24 h |
| Supports | Video uploads (Shorts or standard) · Titles & descriptions · First comment |
Connect
OAuth connect — click Connect, no manual keys.
Click Connect and approve the Google consent screen. Requires a YouTube channel; unverified API projects post as private/unlisted until audited.
Publish
bash
socifyr post "Hello YouTube" --to youtube-myaccountbash
socifyr post --video ./clip.mp4 --text "caption" --to youtube-myaccounttypescript
await socifyr.uploads.text({
connections: ['youtube-myaccount'],
text: 'Hello YouTube',
})bash
curl -X POST https://api.socifyr.com/api/content/text \
-H "Authorization: Bearer $SOCIFYR_API_KEY" \
-H "X-Workspace-Id: $SOCIFYR_WORKSPACE_ID" \
-H "Content-Type: application/json" \
-d '{"connections": ["youtube-myaccount"], "text": "Hello YouTube"}'Agents can post here too — connect the MCP server and ask any client: "post 'Hello YouTube' to youtube-myaccount".
Good to know
- Shorts are derived automatically from a square/vertical video ≤3 min — or force
videoType. - Privacy per video: public / unlisted / private.
- Custom thumbnails and SRT subtitles can be attached via the API.
Need exact numeric limits in code? They're machine-readable in @socifyr/shared via PLATFORM_CONSTRAINTS.youtube — validate before upload.