Videos and Shorts
Upload long-form videos and Shorts.
YouTube's Data API has a 10,000-unit daily quota, resumable upload sessions, and complex OAuth scopes. Zernio gives you one endpoint for videos, Shorts, and channel management with no quota headaches.


Profile
defaultYouTube
Sign up for free, get your API key and connect YouTube accounts through our OAuth flow.

POST /v1/posts
const { data } = await zernio.posts.createPost({ body: { content: 'v2 walkthrough', mediaItems: [{ url: 'https://cdn.acme.com/launch.mp4' }], platforms: [ { platform: 'youtube', accountId: 'acc_8f2a' }, ], scheduledFor: '2027-01-15T14:30:00', timezone: 'Europe/Madrid', }, });
Send content to YouTube from one REST endpoint, right away or scheduled.

post.failed
Webhook sent to your app
Mon, 18 Jan
09:00, Europe/Madrid
v2 walkthrough
Fri, 15 Jan at 14:30
Follow each post from scheduled to published, with a webhook when one fails.
| Endpoint | What it does |
|---|---|
POST/v1/posts | Upload or schedule a YouTube video or Short |
GET/v1/posts/{id} | Get status and details of a YouTube upload |
DELETE/v1/posts/{id} | Cancel a scheduled YouTube upload |
GET/v1/profiles | List all connected YouTube channels |
Zernio transcodes and optimizes media for YouTube's requirements automatically.
| Type | Format | Max size | Notes |
|---|---|---|---|
| Video | MP4, MOV, AVI, WMV | 256 GB | Up to 12 hours duration |
| Shorts | MP4, MOV | 256 GB | Up to 60 sec, 9:16 aspect |
| Thumbnail | JPEG, PNG | 50 MB | 1280x720 recommended |
| Title | Text | 100 chars | Required for videos |
YouTube's Data API has quota limits that reset daily. Zernio manages your quota usage and queues uploads to avoid hitting limits.
Upload long-form videos and Shorts.
Set a custom thumbnail on every upload.
Schedule videos to premiere at a set time.
Get notified when YouTube finishes processing.
Publish as public, unlisted, or private.
Manage several channels from one API key.
Tags, descriptions, and playlists on every video.
Plain JSON back from every YouTube call, with the IDs and statuses your app needs to follow up.
cURL
$
{
"post": {
"_id": "65f1c0a9e2b5af0012ab34cd",
"status": "published",
"content": "Learn how to build a REST API from scratch...",
"platforms": [{
"platform": "youtube",
"accountId": { "_id": "acc_abc123", "username": "YourChannel" },
"status": "published",
"platformPostId": "dQw4w9WgXcQ",
"platformPostUrl": "https://youtube.com/watch?v=dQw4w9WgXcQ"
}],
"createdAt": "2025-01-10T10:30:00Z"
},
"message": "Post published successfully"
}Free tier available. No credit card required.