The TikTok posting API, for developers
TikTok's official route is the Content Posting API, used with Login Kit. You can build on it today, but until TikTok audits your app, every post is private and only a handful of users can post. The audit asks for specific screens in your product. A publishing API that has passed it already is the shortcut, at a monthly cost.
TikTok's own API: what you sign up for
Before the audit
TikTok states it plainly: "All content posted by unaudited clients will be restricted to private viewing mode." In numbers, from the Content Sharing Guidelines: an unaudited client can have up to 5 users posting in 24 hours, and their posts are visible to the creator only.
So you can develop and test, but you cannot ship to real users without passing review.
What the audit looks for
The guidelines require that your app:
- Shows the creator's nickname, read from the creator info endpoint.
- Offers a privacy choice with no default selected. The options come from the creator's account, live: a private account offers different ones.
- Offers comment, duet and stitch toggles, all off by default. TikTok's words: "Users must manually turn on these interaction settings and none should be checked by default".
- Offers the commercial content disclosure. "Your brand" labels the post "Promotional content"; "Branded content" labels it "Paid partnership" and cannot be posted privately.
The review is done from a screen recording of that flow.
Scopes and tokens
Posting needs video.publish and video.upload; a basic profile read needs user.info.basic. OAuth uses PKCE. Access tokens last 24 hours. Refresh tokens rotate and last 365 days: store the new one every time, or you lose the account.
One trap from building on it: TikTok refuses the whole token exchange if you request a scope your app has not been granted. video.list, which you need to read views and likes, belongs to the separate Display API. Request it without that product on your app and every connection fails.
Limits that shape your code
| Limit | Value (as of November 2026) |
|---|---|
| Publish requests | 6 per minute per user token |
| Posts per creator | "typically around 15 posts per day" |
| Video file | MP4, WebM or MOV; H.264 recommended; up to 4 GB |
| Video length | Up to 10 minutes at the endpoint; many creators can post only 3 |
| Frame size | 360 to 4,096 px, height and width |
| Photo posts | Up to 35 JPEG photos, 20 MB each, pulled from a URL only |
| Caption | 2,200 characters |
Two more design points. If you have TikTok pull media from your URL, the serving domain must first be verified in the developer portal. And publishing is asynchronous: you get a publish id and poll, while moderation "usually" finishes within a minute and "may take a few hours".
The API has no scheduling. If you want posts at set times, you hold them and send them yourself. It also allows no edits after posting.
Format details: TikTok video size.
The other route: a publishing API
A publishing API holds an audited TikTok app and lets your code post through it. You send one request; it handles tokens, uploads, polling and TikTok's rules.
The trade-off, honestly:
| TikTok API directly | Publishing API | |
|---|---|---|
| App review | Yours to pass | Already done by the provider |
| Cost | Free | A subscription |
| Control | Full | Limited to what the provider exposes |
| Other platforms | Separate integration each | Same request, another target |
| Dependency | TikTok only | TikTok and the provider |
If you are building a product around TikTok, go direct: you will want the control. If posting is a feature among others, or you need YouTube and Instagram too, the provider is cheaper than the weeks of review work.
What it looks like with apublished
Connecting an account starts a session and hands back a link that the creator opens:
curl -X POST https://apublished.com/v1/channels:connect \
-H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
-d '{"provider":"tiktok"}'
Then every post is validated before anything is sent:
curl -X POST https://apublished.com/v1/posts:validate \
-H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
-d '{
"body": { "items": [{ "text": "Hello" }] },
"targets": [{ "channelId": "…", "settings": { } }]
}'
For TikTok, settings must include privacyLevel, picked from the creator's own options. allowComment, allowDuet and allowStitch default to false. commercialContent defaults to false, and when you turn it on you must also say which kind. Leave something out and the validation response names it, with the actual and allowed values. GET /v1/capabilities/tiktok returns the full schema.
Scheduling works even though TikTok's API has none: apublished holds the post and sends it at the time you set. Every write accepts an Idempotency-Key, so a retry never posts twice. More recipes in the API docs.
Limits stay TikTok's. Views, likes, comments and shares are collected per post; watch time and reach are not available through apublished's TikTok access. apublished is a Swiss product billed in Swiss francs, from CHF 19 a month, API included on every plan, 7-day free trial, no free plan.
Other providers with a TikTok posting API include Ayrshare, Upload-Post and Zernio; each handles drafts and privacy differently (their docs read on 11 November 2026). Zernio, for one, says new TikTok connections publish public only. See the social media API comparison and Ayrshare vs Upload-Post. If you would rather drive TikTok from an assistant than from code, see TikTok MCP.
FAQ
Why are my TikTok API uploads private? Your app is unaudited. TikTok restricts those posts to private viewing.
Is there a TikTok upload API separate from posting? It is the same Content Posting API. You can post directly, or send the video to the creator's inbox to finish in the app.
Can the TikTok API schedule posts? No. Hold the post and send it at the right time, or use a provider that does.
How long does the TikTok audit take? TikTok's pages we read give no duration.
Sources
- TikTok for Developers: Content Posting API get started, Content Sharing Guidelines, media transfer guide, direct post reference, checked October 2026.
- apublished agent docs and provider manifest, checked November 2026.
Published November 12, 2026