Skip to content

YouTube Shorts & Video API guide

Upload YouTube videos and Shorts reliably with privacyStatus validation, quotas, and durable workflows.

PubNio uploads videos and Shorts to connected YouTube channels via the YouTube Data API v3 (videos.insert), running upload and status confirmation inside durable Cloudflare Workflows so long transfers finish reliably after your agent or API caller disconnects.

Key upload requirements

  • Video file: Stage an MP4 or MOV video into PubNio via POST /api/v1/media/import and wait until GET /api/v1/media/{mediaId}/status reports ready.
  • Shorts classification: YouTube automatically classifies vertical or square videos up to 3 minutes as Shorts (no separate endpoint required).
  • Title and privacy: Every YouTube target requires a title and a valid privacyStatus:
    • public: Immediately visible on the channel.
    • unlisted: Accessible via direct link only (recommended for human review before flipping public).
    • private: Visible only to the channel owner.

Handling YouTube daily quotas

YouTube Data API v3 enforces daily upload quota units (resetting at midnight Pacific Time) and per-channel 24-hour upload caps. Use PubNio’s per-account weekly queues to space uploads smoothly and avoid quotaExceeded or uploadLimitExceeded failures.

Google API Services Limited Use

PubNio accesses Google and YouTube APIs strictly to publish videos you authorize, adhering to the Google API Services User Data Policy (Limited Use). See our Privacy Policy for full details and revocation instructions.

Type to search…

↑↓ navigate↵ selectEsc close