# 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).

## What changes from TikTok to YouTube

| Rule | TikTok | YouTube | What to change |
| --- | --- | --- | --- |
| Caption limit | 2,200 | 5,000 (on `settings.description` if set) | 2,800 more than 2,200 |
| Media per post | 1 video, or up to 35 photos | 1 video | the one video fits; a second fails with `media_count` |
| Video file PubNio accepts | MP4, MOV, WebM; 1,000 MB | MP4, MOV, WebM; 5 GiB | every MP4, MOV, or WebM up to 1,000 MB passes |
| Media by URL | `tiktok_upload_required` | `media_upload_required` | send a `mediaId` from an upload or `media.import` |
| Required settings | `privacy`, `commercialDisclosure` | `title`, `privacyStatus` | add `title` and `privacyStatus` to `targets[1].settings` |
| Replies | none | `firstComment`, with the comment scope | only `firstComment` works on `targets[1]` |
| Account | account | channel | `targets[1].accountId` is a connected YouTube channel |

## What each network states

| Rule | TikTok | YouTube |
| --- | --- | --- |
| Caption | [2,200 characters](https://business-api.tiktok.com/portal/docs?id=1762228496095234) | [5,000 characters](https://developers.google.com/youtube/v3/docs/videos) |
| Title | not stated | [100 characters](https://developers.google.com/youtube/v3/docs/videos) |
| Video length | [3 to 600 seconds](https://business-api.tiktok.com/portal/docs?id=1762228496095234) | [15 minutes until the account is verified](https://support.google.com/youtube/answer/71673) |
| Video size | [4GB (also stated: 1GB)](https://developers.tiktok.com/doc/content-posting-api-media-transfer-guide) | [256 GiB (also stated: 256 GB or 12h, whichever is less)](https://developers.google.com/youtube/v3/docs/videos/insert) |
| Video formats | [MP4, MOV, WebM](https://business-api.tiktok.com/portal/docs?id=1762228496095234) | [video/*, application/octet-stream](https://developers.google.com/youtube/v3/docs/videos/insert) |
| API posts | [15 videos per account per day](https://business-api.tiktok.com/portal/docs?id=1762228496095234) | not stated |

## One request for both

```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](https://pubnio.com/docs/problems/invalid-publication/), and neither network publishes:

| Issue | Path | Message |
| --- | --- | --- |
| `settings_conflict` | `targets.1.settings` | Add 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

- [TikTok API for Business: Publish a public video post to an owned account](https://business-api.tiktok.com/portal/docs?id=1762228496095234), read 2026-12-05
- [YouTube Data API: Videos resource](https://developers.google.com/youtube/v3/docs/videos), read 2026-12-05
- [YouTube Help: Upload videos longer than 15 minutes](https://support.google.com/youtube/answer/71673), read 2026-12-05
- [TikTok for Developers: Media Transfer Guide](https://developers.tiktok.com/doc/content-posting-api-media-transfer-guide), read 2026-12-05
- [YouTube Data API: Videos: insert](https://developers.google.com/youtube/v3/docs/videos/insert), read 2026-12-05

## Related

- [TikTok publishing API](https://pubnio.com/platforms/tiktok)
- [YouTube publishing API](https://pubnio.com/platforms/youtube)
- [YouTube media rules](https://pubnio.com/docs/providers/youtube/media/)
- [Create a post](https://pubnio.com/docs/reference/posts-create/)
- [Retry one target](https://pubnio.com/docs/reference/posts-retry/)
- [Import media by URL](https://pubnio.com/docs/reference/media-import/)
- [Cross-posting between every pair](https://pubnio.com/cross-posting)

