TikTok publishing without rebuilding account connection, creator readiness checks, media validation, queues, and webhook status events.
No credit card required
import { KavenioClient } from "@kavenio/sdk";
const kavenio = new KavenioClient({
authToken: process.env.KAVENIO_API_KEY,
});
// Send your user to this URL to connect their TikTok account.
const { authorizationUrl } = await kavenio.connect.begin({
platform: "tiktok",
});
// Publish a video to the connected TikTok account.
await kavenio.posts.create({
content: "Launch week in 30 seconds.",
publishNow: true,
mediaItems: [{ type: "video", url: "https://cdn.example.com/launch.mp4" }],
platforms: [
{
platform: "tiktok",
accountId: "acct_tiktok_123",
platformSpecificData: {
privacyLevel: "PUBLIC_TO_EVERYONE",
allowComment: true,
contentPreviewConfirmed: true,
expressConsentGiven: true,
},
},
],
});kavenio.connect.begin(...)Create a TikTok connect URL and send the user through authorization for the account they want to publish from.
kavenio.posts.create(...)Publish now or schedule a TikTok video, draft upload, or photo carousel for the selected connected account.
kavenio.webhooks.create(...)Trigger your automation when TikTok publishing succeeds, fails, or needs attention instead of polling for state.
Send users through TikTok connection once and use the connected account with the creator privacy options TikTok returns.
Pass the privacy level, preview confirmation, and consent flags your product collected before the provider call runs.
Publish one video, draft upload, or photo carousel with platform-specific media validation before TikTok receives the request.
Schedule posts, publish now, and trigger automation from status events instead of polling provider APIs.
Start testing TikTok connection and publishing without configuring your own TikTok app first.
Use your TikTok app credentials when your team owns approvals, branding, and policy setup.
Stop rebuilding account connection, creator readiness checks, media validation, direct-publish rules, retries, and status events for every product surface.
Yes. Connect a TikTok account, pass one HTTPS video URL, and publish through the same posts API used for other platforms.
Yes. Use TikTok photo media, provide the photo cover index, and publish the carousel through the TikTok platform-specific data.
TikTok direct publish requires a privacy level plus preview confirmation and express consent flags in the request.
Yes. Video publishing accepts TikTok-specific comment, duet, and stitch options when your product exposes those controls.