YouTube
Requires a Google account with an existing YouTube channel and permission to upload videos to it.
Capabilities at a glance
Connect YouTube
Create the hosted connection URL on your server. The customer completes OAuth or the provider-specific credential form directly on PostGate.
curl -X POST https://postgate.studio/api/profiles/connect \
-H "Authorization: Bearer $POSTGATE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"platform": "youtube",
"profile_group_id": "grp_acme123",
"return_url": "https://app.example.com/settings/social"
}'Publish to YouTube
Use the connected profile ID as the target. Provider-specific fields live under post.options.youtube so the unified envelope remains stable.
{
"post": {
"body": "Launch day.",
"options": {
"youtube": {
"title": "Launch story",
"privacy": "private",
"made_for_kids": false,
"community_guidelines_confirmed": true,
"thumbnail_url": "https://example.com/thumbnail.jpg"
}
}
},
"profiles": [
"pro_youtube123"
],
"media": [
"med_01JXYZ"
]
}Media and content limits
PostGate validates the request at creation and again at delivery. Account-level provider limits can be narrower than the general contract.
Operational notes
These constraints affect approval, connection health, or delivery behavior for this provider.
A YouTube Data API compliance audit is required for public and unlisted uploads.
Comment management is disabled for the current OAuth access tier.
Channels without phone verification (youtube.com/verify) are capped at 15-minute videos and a rolling daily upload limit that PostGate cannot check on the user’s behalf.
Custom thumbnail: set post.options.youtube.thumbnail_url to an https JPEG or PNG up to 2 MB (1280x720 recommended). It is applied right after the upload; the channel must be phone-verified. If YouTube refuses it, the video stays published and the target's provider response records thumbnail.status=failed with the reason.
GET /api/platforms. A provider appears only when it is enabled and configured for the current workspace.