All integrations

TikTok

Connect TikTok to the AI agent: videos, photo posts, account stats and publish statuses

Connect TikTok to the AI agent: videos, photo posts, account stats and publish statuses. The agent uploads clips and shows which formats actually land.

Documentation
MessengersAPI key
Выложи ролик про распаковку

Видео опубликовано, статус PUBLISH_COMPLETE через 2 мин 40 с.

Перед загрузкой проверил creator info: аккаунт разрешает публичную приватность и комментарии, дневной лимит не выбран. Файл ушёл частями, подпись и хэштеги из твоего черновика.

Integration scenarios

Publishing a video

The agent posts a ready video by link or uploads the file in chunks, then waits for the publish status instead of you.

Draft in the creator inbox

The agent sends the video to the account inbox as a draft, so you can finish the caption and publish it manually from the app.

Stats on recent videos

The agent collects views, likes, comments and shares for recent videos and shows which format gets a response.

Checking account restrictions

The agent requests creator info before publishing and tells you which privacy levels and comment settings are available to this account.

How to connect

1

Create an app at developers.tiktok.com

Sign in with the account whose videos you manage, open the profile menu → “Manage apps” → “Connect an app”. Pick an organization as the owner rather than an individual account — reviews are granted to organizations.

2

Add the products and tick the required scopes

Click “Add products” → Login Kit and Content Posting API, then enable Direct Post in its settings. Under “Scopes” tick video.publish, video.list, user.info.basic and user.info.stats — without video.publish the connection test fails.

3

Register the redirect URI and submit for review

The redirect URI is registered in the Login Kit settings and must match character for character when exchanging the code. Submit the app: status goes Draft → In review → Live, and an unaudited client can only post privately (SELF_ONLY).

4

Copy the Client key and Client secret

Both values live in App details, section “Credentials”. Keep the Client secret safe: the key pair is what lets the token be refreshed without re-authorizing the account.

5

Authorize the account and get the access token

Run the authorization against your redirect URI and exchange the returned code at https://open.tiktokapis.com/v2/oauth/token/. The user access token you need starts with act. and lasts 24 hours; the refresh token lasts 365 days.

What the agent does in the first 10 minutes

  • Publishes a ready video or photo post to the account and waits for PUBLISH_COMPLETE status for you
  • Collects views, likes, comments and shares across recent videos and shows which format actually lands
  • Sends a scheduled digest: follower growth and the top videos of the week

FAQ

How do I connect TikTok?

With an account access token. Create an app at developers.tiktok.com, add the Content Posting API and Login Kit, tick the video.publish, video.list and user.info scopes, authorize the account and exchange the code for a token.

What does the agent see in TikTok?

The profile of the authorized account with its statistics, the list of recent videos and their metrics, video details by ID and the publishing restrictions for this creator.

Does the agent write to TikTok?

Yes: it publishes videos by link or by file upload, assembles photo posts and sends drafts to the creator inbox. It does not delete what has already been published.

Why is my post visible only to me?

Until the app passes TikTok review, everything from an unaudited client is published with SELF_ONLY privacy. The restriction is lifted once the app moves to Live status.

Related integrations