Skip to content

Reference

TikTok

Set up TikTok OAuth for user data and video management

Connect your users to TikTok for profile data, video management, content publishing, and creator analytics.

PropertyValue
Provider IDtiktok
CategorySocial
PKCESupported
Token refreshAutomatic
Redirect URIShown in Developer Portal

Go to the TikTok for Developers portal

Navigate to developers.tiktok.com and sign in.

Create a new app

Click Manage apps > Create app, fill in the app name and description.

Configure the redirect URI

Under Login Kit or the appropriate product, add the Alter callback URL from the Developer Portal to the Redirect URIs field.

Get credentials

Copy the Client key (Client ID) and Client secret (Client Secret).

Open the Developer Portal

Go to portal.alterauth.com and navigate to the application.

Add TikTok provider

Go to OAuth Providers > Add Provider > TikTok.

Enter credentials

  • Client ID: Paste your TikTok Client key
  • Client Secret: Paste your TikTok Client secret

Select scopes

Choose the scopes the application needs.

Save

Click Save. The provider is now active.

ScopeDescription
user.info.basicRead the user’s profile info (open_id, avatar, display name)
user.info.profileRead additional profile fields (bio, profile links, verification status)
user.info.statsRead profile engagement statistics (likes, followers, following, video count)
video.listRead the user’s public videos on TikTok
video.publishDirectly post content to the user’s TikTok profile (requires TikTok app audit)
video.uploadShare content to the creator’s TikTok inbox as a draft for further editing
  • Login Kit / Display API / Content Posting scopes require product enablement. video.publish additionally requires TikTok app audit before public posts.
  • Research, Data Portability, and Local Service scopes are separate TikTok products and are not exposed in this catalog.
  • See the TikTok scopes reference for more details.

Alter policy rules can target these attested operations and families for operation-level and parameter-aware controls.

Operation IDFamiliesMethodProvider path
post/publish/video-initsendPOST/v2/post/publish/video/init/
post/publish/content-initsendPOST/v2/post/publish/content/init/
post/publish/inbox-video-initwritePOST/v2/post/publish/inbox/video/init/
post/publish/creator-inforeadPOST/v2/post/publish/creator_info/query/
post/publish/statusreadPOST/v2/post/publish/status/fetch/
user/inforeadGET/v2/user/info/
video/listreadPOST/v2/video/list/
video/queryreadPOST/v2/video/query/

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.