YouTube Shorts publishing API
PubNio has no separate Shorts placement: a short clip goes up with placement: "video" like any YouTube video. YouTube decides which videos are Shorts by its own rules: square or vertical, up to 3 minutes. YouTube's rules below were read 2026-12-05.
Rules for YouTube Shorts
| Rule | Value |
|---|---|
| Placement | video |
| Media | video |
| Items per post | 1 |
| Caption limit | 5,000 characters |
- YouTube decides which videos are Shorts by its own rules: square or vertical, up to 3 minutes. Its Help Center states the rule for uploads; it does not say how API uploads are sorted.
- The upload needs a
titleand aprivacyStatus, like any YouTube video.
| Fact | Value | Their words | Source |
|---|---|---|---|
| Short length | 3 minutes | "Up to 3 minutes." | YouTube Help: Upload YouTube Shorts, read 2026-12-05 |
| Short shape | Square or vertical | "With a square or vertical aspect ratio" | YouTube Help: Upload YouTube Shorts, read 2026-12-05 |
| Title length (characters) | 100 | "The value has a maximum length of 100 characters" | YouTube Data API: Videos resource, read 2026-12-05 |
| Uploads per day, per project | 100 | "with default limits of 100 uploads per day and 100 per minute per project" | YouTube Data API: Videos: insert, read 2026-12-05 |
Settings
Set these under the target's settings. All are optional unless marked required.
| Field | What it does |
|---|---|
title | The title, 1 to 100 characters. Required. |
description | Up to 5,000 characters. |
privacyStatus | public, unlisted, or private. Required. |
firstComment | A comment PubNio posts under the published post. |
tags | Up to 30 tags. |
categoryId | A YouTube category ID. |
madeForKids | Declare the video made for kids. |
containsSyntheticMedia | Disclose realistic altered or synthetic content. |
thumbnailMediaId | A workspace image to set as the thumbnail. |
notifySubscribers | Notify subscribers about the upload. |
license | youtube or creativeCommon. |
embeddable | Allow embedding on other sites. |
publicStatsViewable | Show view counts publicly. |
Publish request
A vertical clip, public and declared not made for kids.
POST /api/v1/posts?workspaceId=4e5f6a7b-8c9d-4e0f-9a1b-2c3d4e5f6a7b
Authorization: Bearer pn_live_***
Idempotency-Key: youtube-short-tip
Content-Type: application/json
{
"text": "One keyboard shortcut a day.",
"publishNow": true,
"targets": [
{
"accountId": "7f3c2a10-5b4e-4d6f-8a9b-0c1d2e3f4a5b",
"provider": "youtube",
"placement": "video",
"settings": {
"title": "Split a pane in one keystroke",
"privacyStatus": "public",
"madeForKids": false
},
"media": [
{
"mediaId": "2d6e8f10-3a5b-4c7d-9e1f-a2b3c4d5e6f7"
}
]
}
]
}
Limits
- PubNio does not check length or aspect ratio for Shorts; YouTube applies its own rules to the upload.
Sources
- YouTube Help: Upload YouTube Shorts, read 2026-12-05
- YouTube Data API: Videos resource, read 2026-12-05
- YouTube Data API: Videos: insert, read 2026-12-05

