Post to TikTok via API — Schedule, Publish, Analyze
Upload videos, set privacy levels, enable AI content labels, disable duet/stitch — all through one API call. Direct post or stage for in-app editing.
What you can control via API
Every TikTok-specific parameter, exposed as a first-class API field.
tiktok_privacy_levelSet to PUBLIC_TO_EVERYONE, MUTUAL_FOLLOW_FRIENDS, FOLLOWER_OF_CREATOR, or SELF_ONLY per post.
tiktok_disable_duet / tiktok_disable_stitchProgrammatically prevent other creators from duetting or stitching your videos.
tiktok_disable_commentTurn off comments for brand safety or managed campaigns without touching the TikTok app.
tiktok_is_aigc + tiktok_brand_content_toggleFlag AI-generated content (required by TikTok policy) and mark branded/sponsored posts in one field.
tiktok_post_modeDIRECT_POST publishes immediately. MEDIA_UPLOAD stages the video for in-app editing before you go live.
post_type: video / imagePost single videos or image carousels to TikTok from the same API endpoint — no separate flow needed.
One request, full TikTok control
Pass TikTok-specific overrides alongside your media. CodivUpload validates the payload, queues the job, and handles token refresh — you get the post ID back.
# POST to TikTok via CodivUpload
curl -X POST \
https://api.codivupload.com/v1/posts \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"profile_name": "brand-account",
"platforms": ["tiktok"],
"post_type": "video",
"description": "Behind the scenes drop #bts",
"media_urls": ["https://cdn.example.com/clip.mp4"],
"tiktok_privacy_level": "PUBLIC_TO_EVERYONE",
"tiktok_disable_duet": false,
"tiktok_disable_comment": false,
"tiktok_is_aigc": false,
"tiktok_post_mode": "DIRECT_POST" }'Getting Started with TikTok on CodivUpload
Three steps from zero to your first scheduled TikTok post.
Connect your TikTok account
Open the CodivUpload dashboard, navigate to Integrations, and click Connect TikTok. You will be redirected to TikTok's OAuth screen where you authorize CodivUpload to post on your behalf. Token refresh is automatic — you never need to reconnect manually.
Upload your video
Drag and drop your video into the composer or provide a direct media URL via the API. CodivUpload accepts MP4 and WebM files up to the TikTok size limit. Write your caption, add hashtags, and select TikTok as the target platform.
Set privacy and publish
Choose your privacy level — PUBLIC_TO_EVERYONE, MUTUAL_FOLLOW_FRIENDS, FOLLOWER_OF_CREATOR, or SELF_ONLY. Toggle duet, stitch, and comment permissions. Hit publish for an immediate post or pick a future date to schedule it.
TikTok Content Tips
Practical advice to increase reach and engagement on every post.
TikTok is a vertical-first platform. Record at 1080 x 1920 (9:16 aspect ratio) to fill the entire screen. Horizontal or square videos get cropped or letterboxed, which tanks watch time and signals the algorithm to deprioritize your content.
TikTok's algorithm weighs average watch time heavily. If viewers scroll past in the first few seconds, the video won't reach a wider audience. Open with a bold visual, a question, or a text overlay that gives people a reason to stay.
Videos that use a trending audio clip get pushed to more For You pages. Check TikTok's Creative Center for the current trending sounds list. Even a brief use of a trending audio in the background can increase initial distribution.
Use 3-5 hashtags per video. Combine one high-volume tag (e.g. #fyp, #foryou) with two or three niche tags specific to your topic. Niche hashtags face less competition, so your video can rank higher and reach a more targeted audience.
Data from multiple studies points to Tuesday through Thursday as the highest-engagement days on TikTok. Two windows perform consistently well: 10 AM - 12 PM and 7 PM - 9 PM in your audience's local timezone. CodivUpload's scheduler lets you set the exact date and time per post, so you can batch-create a week's worth of content on Monday and let the platform handle the rest.
TikTok via API
Automate your TikTok workflow with a single POST request.
# Schedule a TikTok video with privacy + AI label
curl -X POST \
https://api.codivupload.com/v1/posts \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"profile_name": "my-brand",
"platforms": ["tiktok"],
"post_type": "video",
"description": "Day in my life #vlog #routine",
"media_urls": ["https://cdn.example.com/vlog.mp4"],
"scheduled_date": "2026-04-03T19:00:00Z",
"tiktok_privacy_level": "PUBLIC_TO_EVERYONE",
"tiktok_post_mode": "DIRECT_POST",
"tiktok_disable_duet": false,
"tiktok_disable_stitch": false,
"tiktok_disable_comment": false,
"tiktok_is_aigc": false,
"tiktok_brand_content_toggle": false }'The scheduled_date field queues the post for the exact timestamp you specify. Combine it with privacy and interaction flags to fully automate your TikTok publishing calendar. CodivUpload handles token refresh, retry on transient failures, and status webhooks so your integration stays hands-off after the initial API call.
Start posting to TikTok for free
2 profiles, 10 uploads/mo on the free plan. Upgrade for unlimited.