TikTok Integration

Connect your AI agent to TikTok Business. Publish videos, manage comments, pull analytics, and track audience insights through the TikTok Content API.

API Key (Bearer Token)*.tiktok.com, open.tiktokapis.com

What your agent can do

Full TikTok Business account management through the Content API.

Video publishing

Upload and publish videos to your TikTok account. Set captions, privacy settings, and disclosure labels. Your agent handles the multi-step upload flow.

Comment management

Read and reply to comments on your videos. Auto-respond to common questions, pin top comments, and filter spam.

Analytics

Pull video performance metrics including views, likes, shares, and completion rate. Track growth trends and identify top-performing content.

Audience insights

Access follower demographics, geographic distribution, and active hours. Optimize your posting schedule based on when your audience is online.

Content management

List and manage your published videos. Check processing status, update captions, and organize your content library.

Secure token storage

Your TikTok API token is encrypted with AES-256-GCM. All API calls go through your agent's sandboxed environment with rate limiting built in.

Prerequisites

  • A TikTok Business account (not a personal account)
  • An app created in the TikTok Developer Portal
  • App approved by TikTok with Content Posting API access
  • An access token generated through TikTok's OAuth flow

TikTok Developer app review typically takes 1-3 business days. Apply early. Video uploads also require disclosure labels if the content is branded or sponsored.

Step-by-step setup

Connect your TikTok account to ClawTrust in about 10 minutes (after app approval).

1

Switch to a TikTok Business account

In the TikTok app, go to Settings, then Manage Account, and switch to a Business Account. This unlocks API access and analytics features.

2

Create an app in the TikTok Developer Portal

Go to developers.tiktok.com and create a new app. Select the Content Posting API and Video List products. Submit your app for review.

3

Configure permissions and get approval

Request the video.publish, video.list, and comment.list scopes. TikTok reviews new apps, which typically takes 1-3 business days.

4

Generate your API token

After approval, complete the OAuth flow to generate an access token for your TikTok Business account. Save the token securely.

5

Add credentials in ClawTrust

Open your agent's dashboard, go to Credentials, and click Add Credential. Select "TikTok" and paste your access token. ClawTrust encrypts it before storage.

6

Your agent is live on TikTok

Your agent can now publish videos, manage comments, and pull analytics. Test it by asking your agent to check your recent video performance.

Credential details

TikTok uses Bearer token authentication through the Content API.

TikTok Content API Token

An OAuth2 access token granting your agent permission to publish content and access analytics on your TikTok Business account.

App ID

Your TikTok Developer app's unique identifier. Used to authenticate API requests alongside the access token.

All credentials are encrypted with AES-256-GCM and stored in ClawTrust's secrets vault. They never touch the tenant VPS directly.

Example actions

Once connected, try asking your agent any of these:

"Upload this video to TikTok with the caption..."

"Check the analytics on our last 5 TikTok videos"

"Reply to the top comments on our latest video"

"What are our best posting times based on audience activity?"

"List all our videos from this week with their view counts"

Ready to automate your TikTok content?

Connect your TikTok Business account in minutes. Secure token storage on every plan.