Preflight publishes video and photo posts to TikTok through the Content Posting API, either straight to your profile with the visibility you choose or into your TikTok inbox as a draft, and it checks the file against TikTok's rules before the upload, not hours later when TikTok refuses it. It is for creators and agencies that send one vertical clip to TikTok, Instagram and YouTube Shorts and want to know about a frame-rate or length problem while the file can still be re-encoded. TikTok's API is the strictest of the twelve networks about what a video must look like, and it says the least when it refuses one. How to schedule TikTok posts is the walkthrough; this page is the integration.
| TikTok through Preflight | What the API allows |
|---|---|
| Text limit | 2,200 characters |
| Media | Pictures and video, up to 35 files |
| Pictures | Accepted |
| Video | 4 GB, 3 s to 10 min, 23 to 60 fps |
| Thread in one go | No |
| First comment | No |
| Alt text | No |
| Edit after publishing | No, the API has no edit |
| Delete from Preflight | No, the API has no delete |
| Comments | Not available through the API |
| Figures reported | views, likes, comments, shares |
| Retention and traffic sources | No |
What goes out
A video, or a photo post of up to 35 pictures. The caption takes 2,200 characters on a video and 4,000 on a photo post, where the first line also becomes the post's title and TikTok shows 90 characters of it; the whole text goes into the description. For each post you set who sees it (everyone, followers, mutual friends or only you), whether comments, duets and stitches are allowed, whether the post is your own brand's content or a paid partnership, whether it is AI-generated, and which frame is the cover of a video. Photo posts can ask TikTok to pick music and choose which picture is the cover.
The alternative is the inbox: the post is uploaded as a draft, and you finish it in the TikTok app, where the sound library, effects and text overlays live. For a video draft Preflight sends no visibility or caption options, because TikTok's inbox upload takes none; you set them in the app.
Connecting an account
Connect with TikTok. Preflight asks for six scopes: basic profile, the extended profile (which carries the @handle a link to the published video is built from), stats (follower count), publish, upload (the inbox) and the video list, which is where view, like, comment and share counts come from. Without the video list scope, the figures stay blank. Any account type works, personal or business, and nothing has to be verified with TikTok on your side.
What often fails: a token that stops working after a day if it is not renewed (Preflight renews it and stores the rotated one); an account that disabled duets or stitches in TikTok's own settings, which the API will not let a tool switch back on; and photo posts, covered below.
What the API allows
| Capability | Allowed | Notes |
|---|---|---|
| Publish video | Yes | MP4, MOV or WebM, up to 4 GB. |
| Publish photos | Yes | Up to 35 JPEG or WebP pictures, fetched by TikTok from a verified domain. |
| Publish text only | No | A post needs a video or pictures. |
| Schedule on TikTok's clock | No | The API has no publish time; Preflight sends the post at the scheduled minute. |
| Send to the inbox as a draft | Yes | Finished in the app; at most 5 pending drafts in any 24 hours. |
| Choose privacy | Yes | Only from the options TikTok returns for that creator. |
| Duet, stitch, comment switches | Yes | Can be turned off, never on over the creator's own setting. |
| Branded content label | Yes | Your own brand or a paid partnership; a partnership cannot be private. |
| Cover frame | Yes | By timestamp on video; by picture index on photo posts. |
| Choose a sound | No | Only an automatic track on photo posts. |
| Edit after publishing | No | In the app only. |
| Delete | No | In the app only. |
| Read or reply to comments | No | No endpoint. |
| First comment | No | No endpoint. |
| Figures | Yes | Views, likes, comments and shares, after the video list scope is granted. |
What the API refuses
- Public posting from an unaudited app. TikTok limits content from an app that has not passed its audit to private viewing. This is why a post from an unaudited tool can land as "only me". The audit verifies compliance with TikTok's terms, and until it is passed the tool cannot lift the limit, whatever the user chooses.
- Choosing a sound. The sound picker has no API. A video sent through the API plays the original sound; a photo post can ask TikTok to add music, nothing more.
- Editing or deleting a published post. Both happen in the TikTok app. Preflight shows the post and its figures and cannot change it.
- Comments. They can be neither read nor answered through the Content Posting API, and a first comment is not possible, so the inbox has nothing from TikTok.
- Photo bytes. TikTok does not accept an uploaded picture. It fetches it from a domain verified in its developer console, from an address that does not redirect. Preflight serves signed JPEG copies fitted to 1080p for that, and the composer says so when it is not available instead of letting the post fail.
- A creator's own limits. Visibility options, the longest video (often 3 or 5 minutes, not 10) and the disabled interactions are per creator and checked by Preflight at connect time and again before every publish.
What Preflight checks before a post leaves
The rules on /limits/tiktok, run on every post and on every API call.
- Length. 3 seconds to 10 minutes, and the creator's own maximum, read from TikTok before the upload.
- Size and container. Up to 4 GB; MP4, MOV or WebM.
- Frame rate. 23 to 60 fps. It is measured in the browser when you add the file, so the warning appears while you can still re-encode. A file that arrives through the API without a reading skips this check, and the error appears later.
- Dimensions. 360 to 4,096 pixels on each side.
- Caption. 2,200 characters on a video, 4,000 on photos. More than five hashtags earns a warning, because TikTok's own app stops there; the API itself has no hashtag rule.
- Photo title. The first line is cut at 90 characters, and you are told.
- Mixing. A post with pictures and video sends only the first kind, and the warning names which.
- Visibility. Branded content on a private post is refused with the reason.
Each rule's reason is listed in /docs/errors, and every option on this page is a field in the MCP server.
The platform's rules in short
- Audit. Until TikTok audits an app, everything it posts is private. The audit checks the app against TikTok's terms and the content sharing guidelines.
- Creator first. A tool must read the creator's info when the post screen opens, show the account's nickname, and offer only the privacy options TikTok returned, with no preselected one.
- Switches off by default. Comments, duets and stitches start off, are greyed out where the creator has disabled them, and the commercial content toggle starts off too.
- Disclosure. When a post is promotional, the tool must ask whether it is your brand or a paid partnership and show TikTok's label; a partnership cannot be private.
- No branding of your video. A tool may not add its own logo, watermark or promotional text to what you post.
- Consent and preview. The user sees a preview and agrees before anything is uploaded, and is told that processing can take a few minutes.
- Limits. Six requests per minute per user token, a daily cap on posts per creator (the error is spam_risk_too_many_posts) and a cap on active users for an unaudited app.
- Spam and abuse. The developer terms forbid spam, circumventing access controls and excessive request volumes, and allow TikTok to audit an app and suspend it at any time.
When a post fails, what each error means and what to change is on TikTok API errors.
The two short-video networks are compared in TikTok vs Instagram limits, and what TikTok reports for a post is in post figures by network.
Checked against the platform's own documents on 8 October 2026; this is a summary, not legal advice. The originals: Content Posting API, content sharing guidelines, media transfer guide and the Developer Terms of Service. TikTok is included on every plan, the free one at pricing too.
Questions people ask
- Can you schedule TikTok posts?
- Yes, through the API, but not with TikTok's own clock: the Content Posting API has no publish time, so Preflight keeps the post and sends it at the scheduled minute. The file is checked first, so a frame-rate or length problem shows up when you schedule, not when TikTok refuses it.
- Why do API posts go to drafts or become private?
- TikTok limits content from an app that has not passed its audit to private viewing, and a draft is the inbox flow, finished in the TikTok app. Which one you get depends on the app's audit status and on whether you chose direct posting or the inbox.
- Why does a TikTok post fail with a frame-rate error?
- TikTok takes video between 23 and 60 frames per second and refuses the rest after the upload, with a message that names no number. Preflight measures the frame rate when you add the file and refuses the post before scheduling, naming the figure.
- Can I edit or delete a TikTok from Preflight?
- No. The Content Posting API has no edit, delete or comment endpoints. Both happen in the TikTok app; Preflight shows the published post and its figures.
- Is there a limit on TikTok posts per day through the API?
- Yes. TikTok caps how many posts one creator can make per day through the API and answers spam_risk_too_many_posts when it is reached. Inbox drafts are limited to 5 pending in 24 hours. TikTok does not publish the daily post number, so Preflight does not guess one.