YouTube API Guide 2026

YouTube API Key vs OAuth 2.0: Which One Do You Need — and Which One Triggers Google's Verification?

Most YouTube API integrations start with an API key because it is simple to generate and works immediately. Then the app needs to read a user's subscriptions, upload a video, or pull channel analytics — and suddenly everything returns a 401 error. The fix is switching to OAuth 2.0. But that switch comes with a consequence most developers do not see coming: Google's app verification requirement.

YouTube API Key vs OAuth 2.0: The Core Rule (Public Data vs User Account Data)

Every request to the YouTube Data API v3 must include either an API key or an OAuth 2.0 access token. Which one your app needs comes down to a single question: are you accessing data that is publicly visible on YouTube — or data that belongs to a specific user's signed-in account?

✓ API Key is sufficient for:

  • Searching public YouTube videos
  • Reading a public channel's profile, statistics, or playlists
  • Fetching public video metadata, captions, or comments (writing is different: see the YouTube Captions API scope guide and comment moderation scopes)
  • Browsing or listing publicly available content
  • Any read-only operation on data visible without signing in

✗ API Key is NOT enough for:

  • A user's private playlists, subscriptions, or liked videos (see why playlists.insert needs OAuth and mine vs mySubscribers in the Subscriptions API)
  • Uploading, updating, or deleting videos on a channel (and reading what an uploadStatus of rejected means)
  • Reading YouTube Analytics for a specific account
  • Accessing unlisted or private videos the user owns
  • Any operation where the user must be signed in to YouTube

The moment your app touches user-account data or performs any write operation, you must use OAuth 2.0 user authorization. There is no in-between option. And that requirement is where the Google app verification process becomes relevant — because every YouTube OAuth scope that accesses user data is classified as sensitive by Google.

YouTube API key vs OAuth 2.0: when OAuth scopes need Google verification, the review covers the consent screen, scopes and a demo video

Which YouTube OAuth Scopes Trigger the Verification Requirement

When your app requests OAuth 2.0 authorization, it declares specific scopes — permissions that define what it is allowed to access on the user's account. All YouTube Data API scopes for user-account access are classified as sensitive. Public apps using sensitive scopes must complete Google's OAuth app verification process before going live with a real audience.

ScopeWhat it unlocksClassification
…/auth/youtube.readonlyRead the authenticated user's subscriptions, playlists, liked videos, and watch historySensitive
…/auth/youtubeManage the authenticated user's YouTube accountSensitive
…/auth/youtube.force-sslFull account management — required for most upload and write operationsSensitive
…/auth/youtube.uploadUpload videos, manage captions and thumbnailsSensitive
…/auth/youtubepartnerContent ID API — verified content owners managing multiple channels onlyRestricted
API key only (no OAuth scope)Public data — no user account access, no user consent requiredNo verification needed

Until your app completes Google's verification, it operates in an unverified state. Users see the "This app isn't verified" warning screen before they can authorize your app. More critically, there is a 100-user lifetime cap on the OAuth consent flow for unverified apps. Once 100 unique Google accounts have authorized your app, no new users can connect — the cap is not a daily reset, it is permanent until verification is complete.

Google scope verification: sensitive and restricted scope review preparation, with CASA for restricted scopes

The Service Account Trap — Why It Does Not Work Here

⚠️

Service accounts cannot be used with the YouTube Data API

When developers discover that OAuth 2.0 requires a user-facing consent screen, many try switching to a Google Cloud service account — assuming it will allow server-to-server access to YouTube data without involving the user at all. This does not work. Service accounts cannot be linked to a YouTube channel. Any API call made using a service account credential returns a NoLinkedYouTubeAccount error and the call fails.

There is one narrow exception: the YouTube Content ID API allows service accounts for verified content owners who manage multiple YouTube channels using the onBehalfOfContentOwner parameter. For the standard YouTube Data API v3 — which covers uploads, subscriptions, analytics, playlists, and channel management — service accounts cannot be used. OAuth 2.0 with user authorization is the only path for accessing user-scoped data. For multi-channel CMS work, see how onBehalfOfContentOwner works.

Why Developers Get Stuck Making This Choice

  • Starting with an API key because it requires no OAuth setup, then hitting 401 Unauthorized errors the moment any user-account endpoint is called
  • Implementing OAuth 2.0 correctly but launching without verification — then hitting the 100-user lifetime cap mid-production and not knowing why new users cannot connect
  • Trying a service account to avoid the consent screen, then spending hours debugging a NoLinkedYouTubeAccount error that does not appear in the YouTube Data API documentation clearly
  • Requesting youtube.readonly for a read dashboard, then later adding an upload feature and getting runtime failures because the token scope was too narrow
  • Not realizing the verification requirement applies even to youtube.readonly — some developers assume read-only scopes are always unverified-exempt, but all YouTube user-data scopes are classified as sensitive
  • Submitting verification without understanding the justification Google expects per scope — leading to a rejection that resets the review clock
Google brand verification on the OAuth consent screen: app name, logo, home page and authorized domains

What the Verification Process Actually Involves

Once your app confirms it needs OAuth 2.0 user authorization — which applies to almost any production YouTube integration beyond public search — the verification path involves several layers that are easy to get wrong on a first submission.

Google's reviewers assess whether your app's actual behavior matches what you declared on the OAuth consent screen, whether your privacy policy adequately describes the YouTube data you access and why, whether you have requested only the minimum scopes genuinely needed, and whether your integration can be verified by a reviewer using a test account. YouTube apps using OAuth 2.0 hit the same consent-screen failures, so see what redirect_uri_mismatch and access_denied mean. For restricted scopes like youtubepartner, a security assessment (CASA Tier 2) is also required before Google approves the app for production. A submission that leaves any of these questions unclear is rejected and must be corrected — restarting the review window.

For how a YouTube Data API verification submission is prepared end to end, see the YouTube API Approval Service page.

YouTube API OAuth Verification and Private Uploads: What Changed in November 2026

For years, the usual reason an API upload ended up private was the project’s compliance status. Google’s July 28, 2020 notice said all videos uploaded through videos.insert from unverified API projects created after that date “will be restricted to private viewing mode” until the project passed Google’s API compliance review.

That rule is gone. The YouTube Data API revision history entry for November 2, 2026 says: “Videos uploaded through the videos.insert method from unverified API projects are no longer restricted to private viewing mode.” The videos.insert reference now says: “Videos uploaded from unverified API projects are not restricted to private viewing mode.”

If uploads still come out private, check these two things first:

  • The privacy value you send. Google says that if you don’t set status.privacyStatus, “the uploaded video’s privacy status defaults to public.” Make sure your code is not sending private.
  • The creator’s own settings. Google adds: “Certain uploads might default to private based on creator account settings, as explained in the YouTube Help Center.”

The upload scope still needs OAuth. Google’s OAuth verification for sensitive and restricted scopes is a separate process from the old upload compliance review. For that, see our Google OAuth verification guide.

Why was my API-uploaded YouTube video made private?

Not because the project is unverified any more. Since November 2, 2026, Google says videos uploaded from unverified API projects are no longer restricted to private viewing mode. Check the status.privacyStatus value your app sends and the creator’s account settings.

This post describes the app review preparation and submission process based on publicly available Google developer documentation — it is not an official Google service or partnership. Yes, we work on a 100% approval or 100% refund basis. If any permission is not approved, you get a refund for that permission. This page provides general technical information only — it is not official Google documentation. singhamandeep.com is not affiliated with or endorsed by Google LLC.

Frequently Asked Questions about Google OAuth verification

Why do YouTube apps get stuck in Google verification?

Apps get stuck when they request OAuth scopes they could avoid, when the demo video doesn't show each scope in use, or when domains, branding and privacy policies aren't in order.

How long does it take if you handle it?

New app: about 3 days for our complete preparation and submission. If the app was already applied or rejected before, submission can happen the same day. Then YouTube's review takes 10–20 days (less or more).

What if it still isn't approved?

Yes, we work on a 100% approval or 100% refund basis. If any permission is not approved, you get a refund for that permission.

WhatsApp