Publishing API

YouTube publishing API with one SocialClaw workspace.

Start the YouTube OAuth flow from SocialClaw, then store the connected channel in the same workspace used by the CLI and API. SocialClaw supports channel video uploads with privacy settings and follow-up inspection.

Works with Claude, ChatGPT, OpenClaw ClaudeChatGPTOpenClaw

What SocialClaw supports for this workflow

A quick overview of what this workflow supports.

Account target YouTube channel SocialClaw supports channel video uploads with privacy settings and follow-up inspection.
Auth model OAuth Start the YouTube OAuth flow from SocialClaw, then store the connected channel in the same workspace used by the CLI and API.
Media envelope YouTube requires one video per post. SocialClaw uploads the video to YouTube during publish.
Inspection Validate, apply, inspect Analytics snapshots are available, but YouTube provider-native analytics fetchers are not implemented yet. Reconciliation currently supports YouTube video lookup.

What the payload needs

The main fields and constraints to account for.

How the workflow runs

Connect the account, validate the post, then publish.

01

Authenticate the workspace

Use the workspace API key with the CLI or hosted HTTP API so the publishing workflow stays attached to the same customer workspace.

02

Connect YouTube

Start the YouTube OAuth flow from SocialClaw, then store the connected channel in the same workspace used by the CLI and API.

03

Inspect account capabilities and settings

Read the current settings surface, including privacyStatus, notifySubscribers, madeForKids, before generating the final payload.

04

Validate before apply

Validation should happen before create-run or apply. YouTube requires one video per post.

05

Inspect the resulting run or post

Reconciliation currently supports YouTube video lookup. Analytics snapshots are available, but YouTube provider-native analytics fetchers are not implemented yet.

CLI and HTTP examples

Example commands and requests for this route.

socialclaw login --api-key <workspace-key> --base-url https://getsocialclaw.com
socialclaw accounts connect --provider youtube --open
socialclaw accounts capabilities --provider youtube --json
socialclaw validate -f schedule.json --json
socialclaw apply -f schedule.json --idempotency-key launch_1 --json
socialclaw runs inspect --run-id <run-id> --json

Current limitations

A few practical limits to keep in mind.

Related routes

Related integrations and use cases.

What builders are saying

Real quotes from Reddit, G2, Trustpilot, and Instagram.

Works with every major platform

Connect once, then schedule and publish everywhere from the same workspace.

Frequently Asked Questions

YouTube uses the YouTube channel route in SocialClaw. Start the YouTube OAuth flow from SocialClaw, then store the connected channel in the same workspace used by the CLI and API.

Run the YouTube publishing API workflow in SocialClaw

Connect the account once, validate before publish, and keep everything in one workspace.

Supported social platforms
Schedule to social media Works with Claude ChatGPT Codex OpenClaw
Start free