Why TikTok Posting Is More Complicated Than It Looks
The request that publishes a video is a single API call. Getting to the point where that call works for real users — and keeps working — involves app review, OAuth, a mandatory pre-post check, media transfer rules, posting caps, and asynchronous status handling. This is a walkthrough of those parts of TikTok's Content Posting API, based on TikTok's developer documentation, for anyone estimating the work of a direct integration.
1. Register the app and pass review
Every integration starts as an app on the TikTok for Developers portal with the Login Kit and Content Posting API products. Registration and review come with requirements that have nothing to do with code (app registration, app review guidelines):
- An official website that describes the service. It cannot be just a landing page or a login page, and links to the privacy policy and terms of service must be visible without opening a menu.
- For apps created after September 9, 2024, the website, terms, and privacy policy URLs must be verified by domain or URL prefix.
- A demo video of the complete, current end-to-end flow. Apps that have never been approved record it in the sandbox environment.
- Only the scopes the app actually needs, each one shown in the demo.
The review guidelines also state that apps must not be for private or personal use, and that apps still in development or testing will not be approved. That rules out the common plan of registering an app just to automate your own account.
2. Until the audit, posts are private
Passing app review does not lift the posting restrictions by itself; the Content Posting API also requires an audit. According to the content sharing guidelines, an unaudited client:
- can only post with
SELF_ONLYvisibility; - can let at most 5 users post within a 24-hour window;
- requires the posting account itself to be private at the time of posting.
A request for a public post from an unaudited client fails with unaudited_client_can_only_post_to_private_accounts. The sandbox is useful for development — up to 10 test accounts that you own — but it does not provide access to the Content Posting API for public videos. A working prototype is therefore a long way from a working public integration.
3. OAuth and token management
Users authorize the app through Login Kit. For web apps, redirect URIs must be registered in advance, absolute, HTTPS, static (no query parameters or fragments), and the URI in the request must match a registered one. A non-guessable state value protects the callback against CSRF.
The scope determines what you can do: video.publish posts directly to the profile, while video.upload only sends a draft to the creator's TikTok inbox to finish in the app.
The tokens are where integrations tend to break in production. The token management documentation describes a short-lived access token and a longer-lived refresh token, and each refresh returns a new refresh token that replaces the old one. If your system keeps using a refresh token that has already been replaced, refreshes fail and the user has to authorize the app again. In practice this means:
- Store both tokens and their expiry times from
expires_inandrefresh_expires_ininstead of hardcoding lifetimes. - Allow only one refresh per account at a time. Two workers refreshing the same account in parallel is enough to lose the valid refresh token.
- Save the new refresh token before anything else uses it, and keep tokens encrypted at rest.
- Detect revoked or expired authorizations and ask the user to reconnect, rather than retrying indefinitely.
4. Query creator info before every post
Before a direct post, the app must call /v2/post/publish/creator_info/query/ for the target account. The response contains the creator's nickname, the allowed privacy_level_options, whether comments, Duet, and Stitch are disabled on the account, and max_video_post_duration_sec. The privacy level in the post must be one of the returned options, otherwise the request fails with privacy_level_option_mismatch.
The content sharing guidelines turn this data into UI requirements, and the UI is part of what reviewers check:
- show the creator's nickname on the posting screen;
- let the user choose privacy manually, with no default value;
- keep comments, Duet, and Stitch unchecked by default and disable the ones the account does not allow;
- show a preview of the content and check the video's length against the allowed maximum;
- offer commercial content disclosure, off by default, and show the matching declaration, such as the Music Usage Confirmation;
- tell users that processing can take a few minutes.
A fully headless automation without any user-facing posting screen does not match this model.
5. Media transfer
The media transfer guide defines two delivery methods with different failure modes:
FILE_UPLOAD |
PULL_FROM_URL |
|
|---|---|---|
| Who moves the bytes | Your server sends PUT requests to TikTok's upload_url |
TikTok downloads from your URL |
| Key rules | Chunks of 5–64 MB (last chunk up to 128 MB), sent in order; upload_url valid for one hour |
Domain or URL prefix verified in the developer portal; HTTPS; no redirects; URL reachable during a download window of up to one hour |
| Photos | Not supported | Required |
The file itself must also fit TikTok's limits: MP4 (recommended), WebM, or MOV; H.264 recommended; 23–60 FPS; 360–4096 pixels on each side; up to 4 GB; and no longer than the duration the creator is allowed to post. Photos must be JPEG or WebP, up to 1080p and 20 MB each, with up to 35 images per post. Teams without their own media domain usually hit the URL verification rule first; posting without your own domain covers the workarounds.
6. Posting caps and rate limits
The API limits both request rates and publishing volume (direct post reference, content sharing guidelines):
- Post init: 6 requests per minute per user access token. Creator info: 20 per minute. Status fetch: 30 per minute. Exceeding a limit returns HTTP 429 with
rate_limit_exceeded. - Each creator account has a daily posting cap, typically around 15 posts per day, shared across all API clients that post for it. Reaching it returns
spam_risk_too_many_posts. - Each client also has a cap on how many creators can post through it in 24 hours, based on the usage estimate in its audit.
A scheduler therefore needs per-account queues and spacing, and its retry logic has to tell a temporary rate limit apart from a daily cap that will not clear for hours.
7. Status tracking and moderation
Publishing is asynchronous. The init call returns a publish_id, and the result arrives later through /v2/post/publish/status/fetch/ or webhooks. A direct post moves through PROCESSING_UPLOAD or PROCESSING_DOWNLOAD to PUBLISH_COMPLETE or FAILED with a fail_reason. Webhook events include post.publish.complete, post.publish.failed, and post.publish.publicly_available.
Public posts then pass moderation, and the public post ID is only returned once that is complete. Your system has to keep state for each post, poll or receive events, and avoid treating a slow post as failed. Sending the same video again because the first attempt looks stuck is a common source of duplicate posts.
8. Labels and declarations
Each post carries declarations that the integration must expose correctly. is_aigc marks AI-generated video, which TikTok shows as a creator-labeled AI-generated tag. brand_organic_toggle and brand_content_toggle disclose promotional and paid-partnership content, and branded content cannot be posted as private. TikTok's integrity and authenticity guidelines require creators to label AI-generated content that shows realistic-looking scenes or people, so these flags need to come from the content itself, not from a global default.
The full checklist
| Area | What a direct integration has to handle |
|---|---|
| App and review | Public website, legal pages, verified URLs, demo video, scope justification, Content Posting API audit |
| Authorization | Login Kit flow, CSRF state, encrypted token storage, single-writer refresh with rotation, reconnect flow |
| Pre-post checks | Creator info on every post, privacy options, interaction settings, maximum duration |
| Posting UI | Nickname, manual privacy choice, preview, disclosures, consent text |
| Media | Chunked uploads or a verified media domain; format and size validation |
| Limits | Per-token rate limits, per-creator daily cap, per-account queueing |
| Results | Status polling or webhooks, moderation delay, idempotent retries |
For a product that serves many creators, this work is the product, and building it is reasonable. For publishing to a handful of your own accounts, the review requirements alone usually rule it out, which is why many small setups use a service that has already been through review instead. With PM3K, for example, you connect each account once through TikTok's authorization screen and then send one API request per post, as the PM3K full service guide shows. How to Get TikTok Posting API for Your Own Account compares those paths.