Defined by PubNio's publishing contract for YouTube.
YouTube Publishing API capabilities and requirements Capability Details Supported placements YouTube Video and Shorts upload Privacy settings public, unlisted, or private validated at preflight Account prerequisite Google / YouTube channel authorized via OAuth (Limited Use compliant) Scheduling Explicit ISO 8601 timestamp or per-account weekly queue Pricing $0/account; 100 free confirmed publishes/mo, then $5/1k (or Pro $29 / Platform $149)
OAuth & account connection YouTube channels connect through Google OAuth in the workspace; PubNio complies with the Google API Services User Data Policy (Limited Use). Users can revoke access anytime inside PubNio or at myaccount.google.com/permissions. Preflight validation before delivery Verifies uploaded or imported video readiness before starting YouTube resumable upload. Validates required video title and valid privacyStatus (public, unlisted, private). Ensures OAuth refresh tokens are healthy prior to scheduled execution. Draft once, validate before sending, and confirm live delivery with an idempotency key.
TypeScript SDK pnio CLI
Copy const video = await workspace.media.importUrl ({
url : "https://cdn.example.com/release-short.mp4" ,
});
const draft = await workspace.posts.create ({
isDraft : true ,
text : "60-second walkthrough of PubNio's hosted MCP server." ,
targets : [
{
accountId : youtubeChannelId,
placement : "video" ,
media : [{ mediaId : video.mediaId }],
settings : { title : "PubNio MCP walkthrough" , privacyStatus : "public" },
},
],
});
const job = await workspace.posts.publish (draft.postId, {
idempotencyKey : "yt-mcp-walkthrough" ,
});
pnio posts create --draft --workspace $WORKSPACE_ID \
--account $YOUTUBE_CHANNEL_ID --placement video \
--media $VIDEO_ID --text "PubNio MCP walkthrough" --publish
Can PubNio upload YouTube videos as unlisted or private for review? Yes. Pass `privacyStatus: "unlisted"` or `"private"` in the target settings so your team can review before making a video public.
Does PubNio comply with Google's API Services User Data Policy? Yes. See https://pubnio.com/privacy for our full Google API Services Limited Use disclosure and revocation instructions.
Connect unlimited YouTube accounts for $0 and confirm live delivery over REST API, SDK, CLI, or hosted MCP.