Publish video
Post a public MP4.
Drafts
Send to drafts to finish in-app.
Analytics
Views, likes, comments, shares.
Interactions
Comments, Duet and Stitch settings.
Connect
OAuth flow (Login Kit):authUrl, approve on TikTok’s consent screen, and the account
is stored after the callback.
Publish a video
Provide a public.mp4 URL in mediaUrls:
Send to drafts
SetasDraft: true to push the video into the TikTok app’s drafts instead of
posting — the user finalizes and publishes it from their phone:
Visibility and interactions
privacy maps onto TikTok’s privacy level, and three flags control what others
may do with the video:
TikTok has no
unlisted: both unlisted and private publish as
SELF_ONLY. And a creator’s own account settings win — if they’ve disabled
Duets, allowDuet: true doesn’t override it.Analytics
TikTok feeds the analytics store: views, likes, comments and shares per video, plus follower count measured daily. Videos published straight from the TikTok app are picked up too.TikTok has no daily history of its own: metrics are read as running totals and
PlugKit records the series itself, from the day you connect.
Not supported
TikTok’s API doesn’t expose messaging or comments to third-party apps.Permissions
Scopes:user.info.basic, video.publish, video.upload, video.list,
user.info.stats. The last two are for analytics and must also be enabled in
your TikTok developer portal — otherwise the authorization goes out without
them, silently.