# YouTube Video Upload API (2026) | Reeling Developers

> YouTube API upload video guide (2026): resumable videos.insert in cURL, the 100-a-day quota, no audit for public uploads, Shorts and failed-upload fixes.

Canonical: https://reeling.app/developers/youtube-upload-api
Last updated: 2026-11-30

## Introduction

To upload a video with the YouTube API, call videos.insert with an OAuth token that has the youtube.upload scope. Google's default quota is 100 videos.insert calls a day per project at 1 unit each, and since 2026-11-02 unverified projects are no longer forced to private.

## YouTube upload API at a glance (checked 2026-11-30)

| Topic | What Google documents |
| --- | --- |
| Endpoint | POST https://www.googleapis.com/upload/youtube/v3/videos; part is required; files up to 256 GB. |
| Scopes | Any one of youtube.upload, youtube, youtubepartner or youtube.force-ssl. |
| Quota | 100 videos.insert calls a day per project by default, 1 unit each, in their own bucket. |
| Audit | No API compliance audit for public or unlisted uploads within the default quota. |
| Default privacy | Public if privacyStatus is omitted; account settings can make some uploads private. |
| Shorts | No Shorts field; square or vertical videos up to three minutes are categorized as Shorts. |

## What you need before the first upload

You need a Google Cloud project with the YouTube Data API enabled, an OAuth 2.0 client and a channel to upload to. Google's Python guide uses a Desktop app client and asks for the youtube.upload scope once.

Google advises unlisted or private test uploads. Some of its client libraries handle resumable uploads for you; the raw requests below suit stacks without one.

## Upload a video with the YouTube API in four steps

Google calls resumable uploads useful for large files and unstable connections. The protocol has four steps but only two requests on a good day: start a session with the metadata, then PUT the file to the session URI.

```
# 1. Start a session with the metadata
FILE_BYTES=$(wc -c < video.mp4)
curl -i -X POST "https://www.googleapis.com/upload/youtube/v3/videos?uploadType=resumable&part=snippet,status" \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "Content-Type: application/json; charset=UTF-8" \
  -H "X-Upload-Content-Length: $FILE_BYTES" \
  -H "X-Upload-Content-Type: video/mp4" \
  -d '{"snippet":{"title":"Upload test"},"status":{"privacyStatus":"private"}}'

# 2. Copy the Location header of the 200 response
SESSION_URI="https://www.googleapis.com/upload/youtube/v3/videos?uploadType=resumable&upload_id=..."

# 3. PUT the file to the session URI
curl -i -X PUT "$SESSION_URI" \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "Content-Type: video/mp4" \
  -T video.mp4

# 4. 201 Created returns the video resource and its id
```

## Set title, privacy and the fields Google changed in November 2026

On 2026-11-02 Google stopped forcing uploads from unverified projects into private mode, and on 2026-11-16 paid product placement stopped defaulting to false. Set privacy and placement yourself instead of relying on defaults.

| Field | What to know (checked 2026-11-30) |
| --- | --- |
| snippet.title | Up to 100 characters; an empty or invalid title returns invalidTitle (400). |
| status.privacyStatus | public, unlisted or private. Omitted means public, but creator account settings can default some uploads to private. |
| status.publishAt | Schedules publishing. Only for a private video that was never published, in ISO 8601; a past time publishes at once. |
| paidProductPlacementDetails | Since 2026-11-16 an omitted hasPaidProductPlacement no longer counts as false. Add the part and send false to declare none. |

## Stay inside the 100-uploads-a-day quota

Google's default is 100 videos.insert calls a day per project at 1 unit each, in their own quota bucket. All other endpoints share a combined 10,000 units a day. Quotas reset at midnight Pacific Time.

The limit belongs to the project, so every channel you upload for shares it. Queue uploads, count your own calls and stop at 100 until the reset. More quota needs a compliance audit through Google's Audit and Quota Extension Form.

Older figures of 1,600 units per upload or 6 uploads a day are out of date.

- [YouTube quota history in the social media API guide](https://reeling.app/developers/social-media-api)

## Upload YouTube Shorts with the API

videos.insert has no Shorts field. Google's Shorts help says a video with a square or vertical aspect ratio up to three minutes is categorized as Shorts. Export 9:16, stay within three minutes and check how YouTube labels the result.

Since 2026-11-03, thumbnails.set (about 50 units) can add a custom Shorts thumbnail, but only after video processing is complete.

- [Schedule YouTube Shorts with the Reeling API or MCP](https://reeling.app/blog/schedule-youtube-shorts-claude-mcp)

## Fix failed and interrupted uploads

Cap your retries: Google says even invalid API requests cost at least one point.

| What you see | What to do |
| --- | --- |
| Lost connection, or 500, 502, 503 or 504 | Back off exponentially, then check the upload with an empty PUT to the session URI and Content-Range: bytes */FILE_BYTES. |
| 308 with Range: bytes=0-999999 | The first 1,000,000 bytes arrived. For a 3,000,000-byte file PUT the rest with Content-Range: bytes 1000000-2999999/3000000. No Range header means nothing arrived. |
| 404 on the session URI | The session expired. Start again at step 1 and upload from the first byte. |
| Any other 4xx or 5xx | Permanent failure. Read the error, fix the request, start a new session. |
| 400 uploadLimitExceeded | Google: the user has exceeded the number of videos they may upload. That wording points at the user's limit, not your project's quota. |

## Send the same upload with the Reeling API (REST + MCP)

Reeling's POST /publish replaces the session and upload requests with one JSON request that carries a public video_url, and returns a post_id. Poll GET /posts/{id} rather than resubmitting, because a timeout is an unknown result. Pass channel_ids from GET /channels when a project has several YouTube channels.

In tools/list on 2026-11-30, reeling_publish_post has no youtube option object, so it cannot set privacy_status. Test visibility over REST first.

```
# REST
curl --fail-with-body -X POST https://api.reeling.app/api/v1/publish \
  -H "X-API-Key: $REELING_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "project_id": "YOUR_PROJECT_UUID",
  "channel_ids": ["YOUR_YOUTUBE_CHANNEL_UUID"],
  "platforms": ["youtube"],
  "video_url": "https://example.com/video.mp4",
  "title": "Upload test",
  "caption": "A short description.",
  "youtube": { "privacy_status": "private", "made_for_kids": false },
  "scheduled_for": "2027-06-01T15:00:00Z"
}'

# MCP tools/call parameters
{
  "name": "reeling_publish_post",
  "arguments": {
    "project_id": "YOUR_PROJECT_UUID",
    "platforms": ["youtube"],
    "title": "Upload test",
    "content": "A short description.",
    "video_url": "https://example.com/video.mp4",
    "scheduled_at": "2027-06-01T15:00:00Z"
  }
}
```

- [Reeling REST API reference](https://reeling.app/developers/api)
- [Runnable API and MCP examples](https://reeling.app/developers/examples)
- [MCP server setup](https://reeling.app/developers/mcp)

## What a unified API cannot do for YouTube

It cannot remove Google's rules: quota counts per Google Cloud project, and whoever owns that project owns its quota and audit status. In Reeling you connect a channel through Google OAuth, and public uploads depend on the connected channel and the app's current capability, so start with privacy_status private.

Call Google directly for tags, category, playlists, captions, the paid product placement declaration or files above 100 MiB: Reeling has no fields for those and takes MP4, MOV or WebM up to 100 MiB. Use Reeling when one request should reach several networks. API and MCP access start on Creator ($19 a month, 5,000 requests a month); Agency ($39) allows 50,000; Starter has none.

- [Reeling YouTube integration](https://reeling.app/integrations/youtube)
- [Instagram posting API guide](https://reeling.app/developers/instagram-posting-api)
- [Video file size calculator](https://reeling.app/tools/video-file-size-calculator)
- [Reeling plans and API limits](https://reeling.app/pricing)

## Primary sources read on 2026-11-30

Google figures above were read on these pages on 2026-11-30.

- [videos.insert reference](https://developers.google.com/youtube/data/reference/rest/v3/videos/insert)
- [Quota calculator](https://developers.google.com/youtube/data/determine_quota_cost)
- [Upload a video guide](https://developers.google.com/youtube/data/guides/uploading_a_video)
- [Resumable uploads](https://developers.google.com/youtube/data/guides/using_resumable_upload_protocol)
- [Quota and compliance audits](https://developers.google.com/youtube/data/guides/quota_and_compliance_audits)
- [Revision history](https://developers.google.com/youtube/data/revision_history)
- [Videos resource](https://developers.google.com/youtube/data/reference/rest/v3/videos)
- [Three-minute Shorts help](https://support.google.com/youtube/answer/15424877)

## Frequently Asked Questions

### How do I upload a video to YouTube using the API?

Send an authorized POST to https://www.googleapis.com/upload/youtube/v3/videos with uploadType=resumable and part=snippet,status. Copy the Location header from the 200 response, PUT the file to that session URI and expect 201 Created. The token needs the youtube.upload scope; set privacyStatus to private while you test.

### What is the YouTube API upload limit per day?

Google's default is 100 videos.insert calls a day per project at 1 unit each, in a separate quota bucket. All other endpoints share 10,000 units a day, and quotas reset at midnight Pacific Time. More quota needs a compliance audit and Google's extension form.

### Do I need an audit to upload public videos with the YouTube API?

No. Since 2026-11-02 videos uploaded from unverified API projects are not restricted to private, and Google says you don't need an API Compliance Audit to upload public or unlisted videos within your default quota. An audit is the route to more quota.

### Can I upload YouTube Shorts with the API?

Yes, with the same videos.insert call; it has no Shorts field. Google's Shorts help says a square or vertical video up to three minutes is categorized as Shorts. Since 2026-11-03, thumbnails.set can add a custom Shorts thumbnail after processing finishes.

### How do I resume a failed YouTube upload?

Send an empty PUT to the session URI with Content-Range: bytes */FILE_BYTES. A 308 response with a Range header shows how many bytes arrived, so PUT the rest from the next byte. Back off exponentially after a 500, 502, 503 or 504. A 404 means the session expired: start again.

## Related

- [Developer Portal Overview](https://reeling.app/developers)
- [Reeling MCP server setup](https://reeling.app/developers/mcp)
- [Reeling publishing API reference](https://reeling.app/developers/api)
- [Social publishing API requirements](https://reeling.app/developers/social-publishing-api)
- [Reeling API and MCP examples](https://reeling.app/developers/examples)
- [Social publishing workflow lab](https://reeling.app/developers/workflow-lab)
- [API security, OAuth & rate limits](https://reeling.app/developers/security)
- [Social Media APIs for Posting (2026)](https://reeling.app/developers/social-media-api)
- [Instagram Posting API (2026)](https://reeling.app/developers/instagram-posting-api)
- [Reeling MCP Config Generator](https://reeling.app/tools/mcp-config-generator)

---
Need the interactive version? Visit https://reeling.app/developers/youtube-upload-api
Full site index for AI agents: https://reeling.app/llms.txt
