---
title: "YouTube API OAuth scopes"
description: "YouTube OAuth scopes: youtube.upload to manage videos, youtube.force-ssl for comments and captions, youtube.readonly, yt-analytics.readonly, and what PubNio requests."
---

> Documentation Index
> Fetch the complete documentation index at: https://pubnio.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# YouTube API OAuth scopes

youtube.upload lets an app manage the user's YouTube videos, which covers uploads. youtube.force-ssl adds editing and deleting videos, ratings, comments, and captions. youtube.readonly views the account; yt-analytics.readonly views Analytics reports. (Checked 2026-12-05.)

## Facts

| Fact                  | Official value                                                | Source                                                                                             | Checked    |
| --------------------- | ------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | ---------- |
| youtube.upload        | Manage your YouTube videos                                    | [OAuth 2.0 Scopes for Google APIs](https://developers.google.com/identity/protocols/oauth2/scopes) | 2026-12-05 |
| youtube.force-ssl     | See, edit, and delete videos, ratings, comments, and captions | [OAuth 2.0 Scopes for Google APIs](https://developers.google.com/identity/protocols/oauth2/scopes) | 2026-12-05 |
| youtube.readonly      | View your YouTube account                                     | [OAuth 2.0 Scopes for Google APIs](https://developers.google.com/identity/protocols/oauth2/scopes) | 2026-12-05 |
| yt-analytics.readonly | View YouTube Analytics reports                                | [OAuth 2.0 Scopes for Google APIs](https://developers.google.com/identity/protocols/oauth2/scopes) | 2026-12-05 |

## Where official docs disagree

The official pages read for this page agree on every value above.

## What PubNio enforces

- PubNio asks for `https://www.googleapis.com/auth/youtube.upload`, `https://www.googleapis.com/auth/youtube.readonly`, `https://www.googleapis.com/auth/yt-analytics.readonly`, `https://www.googleapis.com/auth/youtube.force-ssl` when an account connects.
- Publishing to YouTube needs `https://www.googleapis.com/auth/youtube.upload`. Without it, readiness is `permission_required` with the missing scopes, and the publish stops before any provider call.

## Read the live value

- [`GET /api/v1/integrations/capabilities`](https://pubnio.com/api/v1/docs#tag/capabilities/GET/api/v1/integrations/capabilities) reports, per connected YouTube account, each
  capability's state and any `missingScopes`; [`GET /api/v1/capabilities`](https://pubnio.com/api/v1/docs#tag/capabilities/GET/api/v1/capabilities) lists
  the scopes a publish needs.

## Related errors

- A provider 401 becomes an `auth` provider error and a 403 a `permission` error; neither is retried.
- [YouTube error codes](https://pubnio.com/docs/errors/youtube/) lists the errors PubNio returns for YouTube and how to fix each.

## Limits

- These are Google sensitive scopes, so an app outside testing needs Google's verification before strangers can grant them.

## Sources

- [OAuth 2.0 Scopes for Google APIs](https://developers.google.com/identity/protocols/oauth2/scopes), checked 2026-12-05

  ```text
  Manage your YouTube videos
  See, edit, and permanently delete your YouTube videos, ratings, comments and captions
  View your YouTube account
  View YouTube Analytics reports for your YouTube content
  ```

- [Google: Sensitive scope verification](https://developers.google.com/identity/protocols/oauth2/production-readiness/sensitive-scope-verification), checked 2026-12-05

  ```text
  The sensitive scope verification process can take up to 10 days to complete.
  ```

## Related

- [Posting limits](https://pubnio.com/docs/providers/youtube/limits/)
- [Rate limits and quota](https://pubnio.com/docs/providers/youtube/quota/)
- [App review and access](https://pubnio.com/docs/providers/youtube/app-review/)
- [Token lifetimes](https://pubnio.com/docs/providers/youtube/tokens/)
- [Media requirements](https://pubnio.com/docs/providers/youtube/media/)
- [API versions](https://pubnio.com/docs/providers/youtube/versioning/)
- [YouTube error codes](https://pubnio.com/docs/errors/youtube/)
- [Publishing to YouTube](https://pubnio.com/docs/networks/youtube/)
- [Provider API explainers](https://pubnio.com/docs/providers/)

Source: https://pubnio.com/docs/providers/youtube/scopes/index.mdx
