Cross-post from TikTok to YouTube

To cross-post from TikTok to YouTube with PubNio, add title and privacyStatus to the YouTube target. 7 of 11 publishing rules differ, and one request with a target for each network publishes both (provider rules read 2026-12-05).

Both networks Live · platform rules read 2026-12-05View as Markdown

What changes from TikTok to YouTube

RuleTikTokYouTubeWhat to change
Caption limit2,2005,000 (on settings.description if set)2,800 more than 2,200
Media per post1 video, or up to 35 photos1 videothe one video fits; a second fails with media_count
Video file PubNio acceptsMP4, MOV, WebM; 1,000 MBMP4, MOV, WebM; 5 GiBevery MP4, MOV, or WebM up to 1,000 MB passes
Media by URLtiktok_upload_requiredmedia_upload_requiredsend a mediaId from an upload or media.import
Required settingsprivacy, commercialDisclosuretitle, privacyStatusadd title and privacyStatus to targets[1].settings
RepliesnonefirstComment, with the comment scopeonly firstComment works on targets[1]
Accountaccountchanneltargets[1].accountId is a connected YouTube channel

What each network states

One request for both

tiktok-and-youtube.http
POST /api/v1/posts?workspaceId=4e5f6a7b-8c9d-4e0f-9a1b-2c3d4e5f6a7b
Authorization: Bearer pn_live_***
Idempotency-Key: crosspost-tiktok-to-youtube-1
Content-Type: application/json

{
  "text": "Three-ingredient cold brew in thirty seconds. Coarse grind, cold water, twelve hours in the fridge. That is the whole recipe. #coffee #coldbrew #recipe",
  "media": [
    {
      "mediaId": "7a1e2b3c-4d5e-4f60-8172-839a4b5c6d7e"
    }
  ],
  "publishNow": true,
  "targets": [
    {
      "accountId": "4fab6e58-b071-4c9c-9e54-6d8fa02b4c55",
      "provider": "tiktok",
      "placement": "feed",
      "settings": {
        "privacy": "PUBLIC_TO_EVERYONE",
        "commercialDisclosure": "none"
      }
    },
    {
      "accountId": "61cd8a7a-d293-4ebe-a076-8fabc24d6e77",
      "provider": "youtube",
      "placement": "video",
      "settings": {
        "title": "Three-ingredient cold brew",
        "privacyStatus": "public"
      }
    }
  ]
}
  • targets[0] publishes to TikTok as feed and targets[1] to YouTube as video; both use the uploaded video in media.
  • targets[1].settings carries title and privacyStatus, which YouTube requires and TikTok does not.
  • targets[0].settings carries TikTok's own privacy and commercialDisclosure; YouTube never sees them.
  • The 202 lists each target on its own: if YouTube fails, the TikTok post stands, and posts.retry retries YouTube alone.

Sent unchanged to YouTube

A bare targets[1] gets 422 invalid publication, and neither network publishes:

IssuePathMessage
settings_conflicttargets.1.settingsAdd a title and privacy status for YouTube.

Limits

  • PubNio does not shorten the caption or fill in settings for YouTube: until both targets pass, create publishes neither.
  • Create checks the video's type, size, and count, not its length. TikTok states 3 to 600 seconds; YouTube states 15 minutes until the account is verified.

Sources