Stuarty publishes to TikTok through a developer app that you create and own (ADR-0035): no Stuarty account stands between you and TikTok, and the secret stays in your vault.
Set up the developer app#
What Stuarty sends to TikTok is a draft, not a post. The video goes to your TikTok inbox, with no caption, no privacy level and no cover. You tap the notification in the TikTok app, add your caption and publish it there. Stuarty therefore never reports a TikTok publication as published: it ends as sent as a draft. TikTok offers no public post through an app that has not been audited, and the audit is meant for a product with a wide public, not for a tool that posts to your own accounts.
- Create an app in TikTok for Developers.
- Add Login Kit and the Content Posting API to it, and ask for the scope
video.upload. - Register
http://127.0.0.1:<port>/social/callbackas the redirect, with the port of your Stuarty server. TikTok allows only a loopback address for it. - While the app is not approved, add yourself as a target user.
- Copy the client key and the client secret.
- In Stuarty, open Connections, choose Connect, pick TikTok, and paste the client key (the form calls it the client id) and the secret. The secret goes into the vault.
- Sign in and accept the permissions.
There is no AI disclosure flag in the draft endpoint. If the video has synthetic content, mark it in the TikTok app when you finish the draft; the approval in Stuarty says so.
Permissions and hosts#
The sign-in asks for these permissions and no others:
user.info.basicvideo.upload
The only hosts Stuarty contacts for TikTok: open.tiktokapis.com, open-upload.tiktokapis.com. They are contacted only after you create the connection.
The official guide is here (read on 2026-11-20).
Limits#
These are the limits Stuarty checks a post to TikTok against before anything is sent (publish:validate). A post that breaks one is refused with the limit named, and nothing leaves your machine.
| Limit | Value |
|---|---|
| Title | at most 100 characters |
| Video file | at most 4 GB |
| Video formats | mp4 |
| Video codecs | h264, hevc |
| Longest video | 10 min |
| Frame rate | 23 to 60 fps |
| Smallest picture | 360 x 360 pixels |
| Widest picture | 4096 pixels |
| Export size of the preset | 1080 x 1920 |
| Thumbnail | not sent |
| Visibility | private |
| Posts through the API | 5 in a moving 24 hours |
Where the numbers come from#
- TikTok: the page for the post, read on 2026-11-20.
- The page for the video, read on 2026-11-19: MP4, WebM or MOV; H.264 recommended and H.265 supported; 23 to 60 fps; 360 to 4096 pixels per side; 4 GB; up to 10 minutes through the upload endpoint.
TikTok takes the file as a draft in your own app: it is never public until you finish it there.