Publish a video to multiple platforms in a single API call. Specify which platforms, when to post, and platform-specific metadata. V100 handles the rest.
multi-platform-publish.js
import { V100 } from 'v100-sdk';
const v100 = new V100('YOUR_API_KEY');
// Publish to 4 platforms in one call
const publish = await v100.publish.create({
recordingId: 'rec_abc123',
title: 'How We Reduced Deploy Time by 80%',
description: 'A walkthrough of our new CI/CD pipeline...',
captions: true, // Auto-generate from transcript
platforms: [
{
platform: 'youtube',
visibility: 'public',
tags: ['devops', 'ci-cd', 'engineering'],
scheduledAt: '2026-04-01T14:00:00Z'
},
{
platform: 'tiktok',
aspectRatio: '9:16', // Auto-crop from 16:9
hashtags: ['#devops', '#coding', '#tech'],
scheduledAt: '2026-04-02T19:00:00Z'
},
{
platform: 'linkedin',
scheduledAt: '2026-04-01T09:00:00Z' // Morning for B2B
},
{
platform: 'instagram',
type: 'reels', // 'reels' or 'feed'
aspectRatio: '9:16',
caption: 'We cut deploy time by 80%. Here is how.'
}
]
});
// publish.jobs = [
// { platform: "youtube", status: "scheduled", publishAt: "2026-04-01T14:00:00Z" },
// { platform: "tiktok", status: "scheduled", publishAt: "2026-04-02T19:00:00Z" },
// { platform: "linkedin", status: "scheduled", publishAt: "2026-04-01T09:00:00Z" },
// { platform: "instagram", status: "publishing" }
// ]
// Get optimal posting times for an account
const times = await v100.publish.optimalTimes({
platforms: ['youtube', 'tiktok', 'linkedin']
});
// times = { youtube: "Tue 14:00 EST", tiktok: "Thu 19:00 EST", linkedin: "Tue 09:00 EST" }