Skip to content
Development accessTier 2socialProvider id: youtubeManifest r3

YouTube

Google OAuth verification pending. Resumable video and Shorts uploads with playlists.

Connection note

Connects a Google account that owns one or more YouTube or Brand Account channels via OAuth 2.0 with offline refresh access and channel selection. Until Google approves Honeloop's OAuth app, only test users on the app can connect and uploads stay private on unverified projects.

Specification summary

Text limit
5,000 charactersUTF-16 code units
Media attachments
Media required: up to 1 video, up to 1 image (mixed kinds allowed)
Threads and parts
Single part only
Authentication
OAuth 2.0 with PKCECloud shares a platform app once reviewed; self-hosters register their own app.
Approvals and autonomy
Starts on Approve everything; ceiling on_the_loop (no unsupervised auto-publish)Default publish: in_the_loop · Ceiling: on_the_loop
Analytics and API cost
Allowed for analytics and learningIncluded (no per-call platform API surcharge)

Authentication and token lifecycle

Credentials are encrypted at rest and scoped to the connected channel. You can revoke and scrub stored tokens immediately via POST /v2/channels/disconnect or from the web app; see Data deletion for full revocation and deletion details.

VariantFlowRefresh policyPlatform scopes
Sign in with Google (YouTube)Multi-step: Select a YouTube channelOAuth 2.0 with PKCErefresh_token · proactive
https://www.googleapis.com/auth/youtube.uploadhttps://www.googleapis.com/auth/youtube.readonlyhttps://www.googleapis.com/auth/youtube.force-ssl

Content and media constraints

Editor mode: plaintext. Minimum text length: 0. Polls: not supported. AI content disclosure: supported via contains_synthetic_media.

KindAccepted MIME typesMax countMax file sizeAdditional bounds
video
video/mp4video/quicktimevideo/webm
1512 MiBMax duration 12 h
image
image/jpegimage/png
12 MiBNone

Guardrails, rate limits and compliance

Manifest validation rules

  • Hard ruleyoutube.video_required

    Attach exactly one video (MP4, MOV, or WebM) and optionally one JPEG or PNG custom thumbnail (<= 2 MiB) to publish on YouTube; vertical videos up to 60 seconds or tagged #Shorts publish as YouTube Shorts.

  • Hard ruleyoutube.metadata_valid

    Keep the video title within 1 to 100 characters without < or >, keep descriptions free of < or >, and keep total tag length within 500 characters.

  • Hard ruleyoutube.synthetic_media

    Set contains_synthetic_media to true whenever a video includes realistic AI-generated or altered visual or audio content.

  • Adviceyoutube.quota

    YouTube Data API projects start with 10,000 quota units per day (each video upload costs 1,600 units); space uploads accordingly.

Queue and rate-limit windows

Worker queue: youtube (max 2 concurrent jobs).

ScopeOperationWindowMax operations
appapi_call24 hours10,000

Shipped platform guardrails

  • forbidApplies to: agent, oauth_client, api_key, user

    Honeloop does not reply to or comment on other creators' videos on any platform (26 R4-N1).

  • forbidApplies to: agent, oauth_client, api_key

    Engagement automation, solicited replies included, is out of scope on every platform (26 R4-N1).

  • forbidApplies to: user, api_key, oauth_client, agent

    Direct messages are out of scope (constitution §1).

  • forbidApplies to: agent, oauth_client, api_key

    YouTube publishing requires a video attachment; a text-only rendition would be refused by YouTube.

Manifest helper tools

Invoke via POST /v2/providers/invoke_tool or MCP invoke_provider_tool:

  • List YouTube playlistslist_playlistschannels:read

    List playlists owned by the connected YouTube channel so an uploaded video can be placed in a playlist. Example: {"limit":25} returns [{"id":"PL123","title":"Product Demos","privacy_status":"public","item_count":4}].

Publish to YouTube

Every call passes the same 12-stage policy gate, manifest preflight check and audit trail. Under the default in_the_loop policy, scheduling returns HTTP 202 ApprovalDiversion until a reviewer approves.

# 1. Upload compliant media first (YouTube requires media on part 1)
MEDIA_ID=$(hl media upload ./autumn-firing.mp4 --json | jq -r '.id')

# 2. Draft and schedule for your YouTube channel (provider: youtube)
hl posts create --input '{"channel_ids":["'"$CHANNEL_ID"'"],"parts":[{"text":"Speckled oatmeal mugs from the autumn firing are in the shop Tuesday at 10:00.","media_ids":["'"$MEDIA_ID"'"]}]}'
hl posts schedule "$POST_ID" --version 1 --at 2026-11-26T09:30:00Z

Common questions

How does Honeloop count characters for YouTube?

YouTube allows up to 5,000 characters by default using UTF-16 code units. Honeloop validates text length before scheduling and rejects over-limit drafts with 400 validation_failed instead of failing after approval.

What media and multi-part formats does YouTube support?

Media required: up to 1 video, up to 1 image (mixed kinds allowed). Single part only.

How do authentication and approvals work on YouTube?

YouTube connects via OAuth 2.0 with PKCE. Starts on Approve everything; ceiling on_the_loop (no unsupervised auto-publish). Disconnecting the channel immediately revokes and scrubs stored credentials.

What compliance guardrails apply to YouTube?

Analytics AI posture is allowed. Cost model: Included (no per-call platform API surcharge). Access status: development access while platform review is pending.

Other platforms in this tier