Short answer: You can automate TikTok posting in two ways: build an app on TikTok's Content Posting API, or use a scheduler that has already been approved by TikTok. The API supports direct posting (scope video.publish) and sending drafts to the creator's TikTok inbox (scope video.upload). Until TikTok audits your app, everything it posts is private and only a handful of users can post through it, so for most creators and small teams a scheduler is the faster route.
All limits below were checked on developers.tiktok.com on 6 December 2026. TikTok changes these pages, so re-check before you build.
The two official ways TikTok accepts automated posts
TikTok does not offer a "post from a script with a password" option. Every automated post goes through the Content Posting API, with a user who signed in through TikTok Login Kit and granted your app a scope. There are two delivery modes:
| Direct post | Upload to inbox | |
|---|---|---|
| Scope | video.publish |
video.upload |
| Video endpoint | POST /v2/post/publish/video/init/ |
POST /v2/post/publish/inbox/video/init/ |
| Photo endpoint | POST /v2/post/publish/content/init/ with post_mode: DIRECT_POST |
same endpoint with post_mode: MEDIA_UPLOAD |
| Who presses "Post" | Your app | The creator, inside the TikTok app |
| Caption, privacy, toggles | Sent by your app | Finished by the creator in TikTok |
| Trending sounds, in-app effects | Not available | Creator can add them before posting |
| Rate limit | 6 requests per minute per user token | 6 requests per minute per user token |
| Extra cap | Daily post cap per creator (see below) | At most 5 pending shares in any 24 hours |
Direct post is what most people mean by "automation": the video goes live at the scheduled time without anyone opening the phone. Inbox upload is a half-automation. It saves the transfer and the caption drafting, but a person still has to tap the notification and publish. It is the better choice when a post needs a trending sound or an in-app effect.
What an unaudited app can and cannot do
This is the part most tutorials skip. When you register an app and add the Content Posting API, your app is "unaudited". As of December 2026, TikTok's documentation says:
- All content posted by unaudited clients is restricted to private viewing (
SELF_ONLY). - The posting accounts must themselves be private at the time of posting. Trying to post to a public account fails at init with HTTP 403 and the error
unaudited_client_can_only_post_to_private_accounts. - Up to 5 users can post through an unaudited client in a 24-hour window.
So an unaudited app is a test harness, not a publishing tool. To post publicly you apply for an audit, in which TikTok checks that your app follows its Terms of Service and the content sharing guidelines. After the audit, your app also gets a daily cap on active publishing users, based on the usage you estimated in the application. When that cap is hit, the API returns reached_active_user_cap.
What the audit checks in your posting screen
The content sharing guidelines are specific about the posting UI. Before you apply, your app should:
- Show the creator's TikTok nickname, so they know which account will receive the post.
- Offer a privacy dropdown filled from the creator's allowed options, with no default value.
- Offer Allow Comment, Duet and Stitch toggles, none checked by default, and grey out any the creator has disabled.
- Offer a commercial content disclosure (off by default) with "Your brand" and "Branded content" options, and block private visibility for branded content.
- Show the consent line linking to TikTok's Music Usage Confirmation before the user publishes.
- Only send media to TikTok after the user has explicitly agreed to the upload.
- Tell the user that processing can take a few minutes.
- Not add your own logo, watermark or promotional text to the user's content.
If your plan was "fill in privacy = public for everyone and post silently", that design will not pass.
Daily caps and the creator info check
Before every direct post, call the creator info endpoint. It is not optional in practice: it tells you what this creator is allowed to do right now.
curl --request POST 'https://open.tiktokapis.com/v2/post/publish/creator_info/query/' \
--header 'Authorization: Bearer USER_ACCESS_TOKEN' \
--header 'Content-Type: application/json; charset=UTF-8'
The response includes creator_nickname, privacy_level_options, comment_disabled, duet_disabled, stitch_disabled and max_video_post_duration_sec. This endpoint allows 20 requests per minute per user token. Use it to:
- Build the privacy dropdown. Your
privacy_levelmust be one of the returned options, or the post fails withprivacy_level_option_mismatch. - Reject videos longer than
max_video_post_duration_secbefore uploading. - Stop early if it returns
spam_risk_too_many_posts(the creator hit the daily post cap) orspam_risk_user_banned_from_posting.
How big is the daily cap? TikTok's guidelines say it is typically around 15 posts per day per creator account, shared across all Direct Post API clients, and that it can vary by creator. Shared means that if a creator also uses another scheduler, both apps draw from the same allowance.
Worked example (illustrative numbers): a small team runs 4 TikTok accounts and wants 3 posts a day on each. That is 12 posts a day, well below a cap of around 15 per account. The API rate limit is not the bottleneck either: 6 init requests per minute per user token is more than any normal schedule needs. The real constraints are the per-creator daily cap and, for your own app, the audit.
File limits for video and photo posts
From the media transfer guide, as of December 2026:
| Item | Limit |
|---|---|
| Video formats | MP4 (recommended), WebM, MOV |
| Video codecs | H.264 (recommended), H.265, VP8, VP9 |
| Video file size | Up to 4 GB |
| Video duration via API | Up to 10 minutes; the creator's own limit comes from max_video_post_duration_sec |
| Resolution | 360 px minimum, 4096 px maximum (height and width) |
| Frame rate | 23 to 60 FPS |
| Upload chunks | 5 MB to 64 MB each (final chunk up to 128 MB), 1 to 1,000 chunks, uploaded in order |
| Photo formats | WebP, JPEG |
| Photo size | Up to 20 MB per image |
| Photos per post | Up to 35 |
Video caption (title) |
Up to 2,200 UTF-16 runes |
Photo posts have their own rules, covered in How to schedule TikTok photo slideshows.
Direct post in code: the minimal flow
This is the shape of a direct video post with a file from your own server. It assumes you already have a user access token with video.publish from Login Kit, and that the video is 64 MB or smaller so it can go in a single chunk.
# 1. Initialize the post (single chunk: chunk_size = video_size)
SIZE=$(stat -f%z video.mp4) # macOS; on Linux use: stat -c%s video.mp4
curl --request POST 'https://open.tiktokapis.com/v2/post/publish/video/init/' \
--header 'Authorization: Bearer USER_ACCESS_TOKEN' \
--header 'Content-Type: application/json; charset=UTF-8' \
--data "{
\"post_info\": {
\"title\": \"3 mistakes I made launching my app #indiedev\",
\"privacy_level\": \"SELF_ONLY\",
\"disable_comment\": false,
\"disable_duet\": false,
\"disable_stitch\": false
},
\"source_info\": {
\"source\": \"FILE_UPLOAD\",
\"video_size\": $SIZE,
\"chunk_size\": $SIZE,
\"total_chunk_count\": 1
}
}"
# Response contains data.publish_id and data.upload_url (valid for one hour)
# 2. Upload the bytes
curl --request PUT 'UPLOAD_URL_FROM_STEP_1' \
--header 'Content-Type: video/mp4' \
--header "Content-Range: bytes 0-$((SIZE-1))/$SIZE" \
--data-binary @video.mp4
# 3. Poll the status
curl --request POST 'https://open.tiktokapis.com/v2/post/publish/status/fetch/' \
--header 'Authorization: Bearer USER_ACCESS_TOKEN' \
--header 'Content-Type: application/json; charset=UTF-8' \
--data '{"publish_id": "PUBLISH_ID_FROM_STEP_1"}'
SELF_ONLY is used here because it is the only value an unaudited app can publish. In production, send the value the creator picked from privacy_level_options.
Instead of FILE_UPLOAD, you can use PULL_FROM_URL with a video_url. TikTok then fetches the file itself, but only from a domain or URL prefix you have verified in the developer portal. The URL must be https and must not redirect.
Note what the API does not do: it has no "publish at" field. Scheduling is your job. A scheduler stores the post and calls the init endpoint at the chosen time, which is why you need a server or a hosted tool running when the post is due.
No-code options
If you do not want to build and audit an app, use a tool that already did:
- TikTok's own tools. TikTok's desktop upload page and TikTok Studio offer native scheduling for your own account. Check the current scheduling window there; we could not confirm it on an official TikTok page in December 2026.
- Multi-network schedulers. Buffer, for example, documents automatic publishing to TikTok, and its help article says posts that need TikTok-only features like trending sounds must use notification publishing instead. Tools in this group are stronger than a single-network scheduler when you need many networks, analytics or team approvals. See Hootsuite, Later and Metricool alternatives for TikTok and Buffer alternative.
- Automation platforms (Zapier, Make, n8n). These are useful for the trigger side ("new file in a Drive folder"), but they still need a TikTok-approved posting app behind them. Check the specific connector's TikTok actions before you plan around it.
Decision table
| Your situation | Best option |
|---|---|
| One account, a few posts a week, always want trending sounds | TikTok's native scheduler or inbox drafts |
| Several TikTok accounts, posting daily, no subscription wanted | A TikTok-focused scheduler such as ShortsBlink |
| Many networks, team approvals, analytics | A multi-network scheduler |
| You are building a product that posts for other users | Your own app on the Content Posting API, plus the audit |
| You generate content with an AI agent | A scheduler with an MCP server, see scheduling from Claude Code or Codex |
Using ShortsBlink as the scheduler
ShortsBlink is a TikTok scheduler sold for a one-time price (launch tiers start at US$99, see pricing). It schedules TikTok videos and photo slideshows to one or more connected TikTok accounts and supports both delivery modes described above: direct post, where you choose the audience, or TikTok inbox, where the draft lands in the TikTok app for you to finish. You get per-account and combined calendars and a Posts page to review upcoming, published, failed and cancelled posts.
For agent workflows, it has a hosted MCP server (https://shortsblink.com/lifetime/mcp) with tools such as upload_media and schedule_post, authenticated with your licence key as a bearer token. Your own agent (Codex, Claude Code and similar) writes the captions or makes the media; ShortsBlink only schedules and delivers.
What it does not do: it does not post to Instagram, Facebook, X, LinkedIn, Pinterest or Threads, and it has no team approval workflow, social inbox or analytics dashboard. YouTube Shorts scheduling exists as a limited bonus, explained in Automate YouTube Shorts uploads.
Pitfalls to avoid
- Hard-coding
PUBLIC_TO_EVERYONE. It fails for private accounts, whose options are different, and it fails the audit's "no default" rule. - Ignoring the shared daily cap. Two schedulers on one account split the same allowance.
- Letting an upload URL expire. It is valid for one hour; initialize close to upload time.
- Adding a watermark or brand overlay in your app. The guidelines forbid adding your own branding to user content.
- Queueing more than 5 inbox drafts a day. The sixth pending share inside 24 hours is rejected.
Summary
Automating TikTok posting means using the Content Posting API, either yourself or through a tool. Direct post publishes without a human; inbox upload leaves the final tap to the creator. Unaudited apps can only post privately, for up to 5 users a day, so building your own only makes sense if you are shipping a product. For your own accounts, pick a scheduler that matches how many networks you need. If you post slideshows, read How to schedule TikTok photo slideshows next.
FAQ
Can I automate TikTok posting with the official API?
Yes. TikTok's Content Posting API lets an app post videos and photo posts to a user's account after the user authorizes it, either publishing directly (scope video.publish) or sending a draft to the TikTok inbox (scope video.upload).
What can an unaudited TikTok API app do?
As of December 2026, TikTok's docs say content posted by unaudited clients is restricted to private viewing, posting accounts must be private, and up to 5 users can post through the client in a 24-hour window. You pass TikTok's audit to post publicly.
How many TikTok posts can be published through the API per day?
TikTok's content sharing guidelines say the cap is typically around 15 posts per day per creator account, shared across all Direct Post API clients, and it can vary by creator. The creator info endpoint tells you when the cap is reached.
What is the difference between TikTok direct post and upload to inbox?
Direct post publishes the video with the privacy level you send. Upload to inbox delivers a draft to the creator's TikTok app, where they get a notification, edit (for example add a sound) and publish it themselves.
Do I need to write code to automate TikTok posting?
No. A scheduler such as ShortsBlink or Buffer uses the same API on your behalf. You only need code if you are building your own posting app.
Sources
- TikTok Content Posting API — Get started (Direct Post) (accessed 2026-12-06)
- TikTok Content Posting API — Direct Post reference (accessed 2026-12-06)
- TikTok Content Posting API — Upload video reference (accessed 2026-12-06)
- TikTok Content Posting API — Get started (Upload) (accessed 2026-12-06)
- TikTok Content Posting API — Query creator info (accessed 2026-12-06)
- TikTok Content Posting API — Media transfer guide (accessed 2026-12-06)
- TikTok Content Sharing Guidelines (accessed 2026-12-06)
- Buffer — Using TikTok with Buffer (accessed 2026-12-06)