Connect TikTok to your Wiro AI agent
Upload and publish videos to a TikTok account.
Give me last week's TikTok numbers video by video, and tell me what to film more of.
Five videos went up last week, 212,400 views between them:
- Latte art in slow motion: 118,000 views, 9,400 likes, 1,210 shares
- Closing shift cleanup: 41,300 views, 2,800 likes
- Which milk foams best?: 28,900 views, 640 comments
- Winter menu, first look: 15,600 views
- Meet our roaster: 8,600 views
Slow-motion pours win on views and shares, and the milk test started the most talk, so film more of both.
Overview
What TikTok does for your agent
Connects one TikTok account through a TikTok for Developers app you own, once TikTok has approved that app. The agent posts videos to the profile or sends them to the TikTok inbox as drafts, posts photo carousels from a domain verified in your app, checks each post until TikTok has processed it, and reads the account's public videos with their views, likes, comments and shares. Until the app passes TikTok's audit, posts can only use the Only me privacy level, on an account set to private.
Use cases
What your Wiro agent can do with TikTok
Publish a finished video with the right settings
Share a link to the edited MP4 in Chat. The agent checks which privacy levels your account allows, writes a caption with hashtags, sets comments, duets and stitches, labels AI-generated content, and posts once you approve. It then follows the post until TikTok reports it published.
Send drafts to your TikTok inbox to finish in the app
When you want to pick the sound yourself, the agent uploads the video to your TikTok inbox as a draft instead of posting it. You open TikTok, add the sound and caption, and post. TikTok keeps up to five pending drafts a day.
Post the next video every weekday at 6 pm
Keep a list of finished video links with their captions. A Scheduled Task posts the next one each weekday evening, checks that TikTok processed it, and writes the post's status in Chat, so the queue keeps moving on days you are busy filming.
Get a weekly roundup of your TikTok views
Every Monday the agent lists the account's public videos from the past week with views, likes, comments and shares, sets them against the previous week, and suggests which topics to film again.
Turn product photos into a TikTok photo post
If your product photos sit on your own website and that domain is verified in your TikTok app, the agent posts 1 to 35 of them as a photo carousel with a title, a description with hashtags and, if you like, music TikTok adds.
Mark branded and AI-made posts correctly
For a paid partnership the agent turns on TikTok's branded content setting, and for a post that promotes your own business it marks it as your brand. It also labels AI-generated videos and uses the cover frame you name.
How it works
How TikTok works with Wiro
- 01
Deploy an agent, open its Connectors tab, choose TikTok and sign in with your TikTok account.
- 02
Set each TikTok action to Allow, Ask or Block, in Chat and in Scheduled Tasks. By default, read-only actions run, and the rest ask first in Chat.
- 03
Ask your agent for TikTok work in Chat, or put it on a Scheduled Task that runs on its own.
TikTok opens in a new window. Sign in there and allow access; this page updates by itself.
Sign In With TikTokPublish a finished video with the right settings
Send drafts to your TikTok inbox to finish in the app
- Where it runsInside your agent. Its requests go straight from the agent to TikTok.
- Where its data goes
open.tiktokapis.comopen-upload.tiktokapis.comupload.us.tiktokapis.com - How it signs inSign in to TikTok with your own app.
What it can do
Actions your Wiro agent can take in TikTok
By default, read-only actions run, and the rest ask first in Chat and run in Scheduled Tasks. Each agent can set any action to Allow, Ask or Block.
Read-only 6 actions
Looks things up in TikTok and changes nothing.
Get the TikTok creator's posting options
Returns what the connected creator can post right now: their name, the privacy levels they may choose, whether comments, duets and stitches are turned off on their account, and the longest video they may post.
Chat AllowScheduled Tasks Allow
Get the TikTok profile
Returns the connected TikTok account: open id, union id, display name and avatar.
Chat AllowScheduled Tasks Allow
Get a TikTok post's status
Returns where a TikTok post stands.
Chat AllowScheduled Tasks Allow
List the TikTok creator's videos
Lists the connected creator's public TikTok videos, newest first: id, title, description, time, link, length, and view, like, comment and share counts (choose others with fields).
Chat AllowScheduled Tasks Allow
Get TikTok videos by id
Returns up to 20 of the connected creator's videos by their ids.
Chat AllowScheduled Tasks Allow
Read other TikTok data
Reads what the actions above do not cover, straight from the TikTok API.
Chat AllowScheduled Tasks Allow
Create and send 2 actions
Creates or sends something new in TikTok, such as a post, a message or an email.
Post a video to TikTok
Posts one video (MP4, MOV or WebM, up to 4 GB) to the connected TikTok account from a public https URL.
Chat AskScheduled Tasks Allow
Post photos to TikTok
Posts a photo post (a carousel of 1 to 35 photos) to the connected TikTok account.
Chat AskScheduled Tasks Allow
Change and delete 1 action
Changes or deletes what is already in TikTok.
Make other TikTok changes
Sends any other change straight to the TikTok API.
Chat AskScheduled Tasks Allow
How to connect
Connect TikTok to Wiro
Open the agent's Connectors tab, choose TikTok and sign in with your account. The consent screen shows what the agent can reach.
What the Connect dialog asks for
| Field | About |
|---|---|
| Client KeyRequired |
|
| Client SecretRequired |
|
Troubleshooting
Troubleshooting TikTok
What to check when TikTok stops working for your agent.
- Your own app's sign-in fails Check your app's settings in TikTok: the redirect URL shown in the Connect dialog must be added there, and the client secret you pasted must be the app's current one. Then sign in again.
- Access revoked in TikTok If the access is removed in TikTok, or the sign-in can no longer renew, the connection reads Reconnect needed. Open the agent's Connectors tab, choose TikTok and Reconnect.
- Limits set by TikTok TikTok limits how much an account can do, such as how many requests it takes in a minute. An action over a limit fails until the limit resets: wait and ask again, or check your TikTok plan.
For developers
Connect TikTok from your own product
Every call is a POST to the Wiro API with your project's API key. On a sign-in, your customers see your own app's name.
- 01
Read the connector
Detail answers without a session: what the connector needs and the tools it gives an agent.
POST /AgentConnector/Detail { "slug": "tiktok" }Response { "result": true, "errors": [], "agentconnectors": [ { "slug": "tiktok", "title": "TikTok", "category": "social", "authtype": "provider-oauth", "credentialfields": [ { "name": "clientkey", "label": "Client Key", "required": true, "secret": false, "format": "text" }, { "name": "clientsecret", "label": "Client Secret", "required": true, "secret": true, "format": "password" } ], "tools": [ { "name": "get_creator_info", "readonly": true }, { "name": "get_profile", "readonly": true } ] } ] } - 02
Start the sign-in
Connect answers with the vendor's sign-in page. Open it in the browser of the person who owns the account.
POST /UserAgent/ConnectorConnect { "useragentguid": "YOUR_AGENT_GUID", "slug": "tiktok", "mode": "oauth", "values": { "clientkey": "YOUR_CLIENTKEY", "clientsecret": "YOUR_SECRET" }, "redirecturl": "https://your-app.example.com/connectors/return" }Response { "result": true, "errors": [], "status": "pending", "authorizeUrl": "https://vendor.example.com/oauth/authorize?client_id=...&state=..." } - 03
Come back to your page
After the consent screen the browser returns to your redirect URL with the outcome in its query. Read the status next; the query is only a reason to look.
Your redirect URL https://your-app.example.com/connectors/return?connector_connected=true https://your-app.example.com/connectors/return?connector_error=authorization_denied - 04
Read the status
connected, pending (a sign-in not finished), reauth (sign in again) or error. Values and tokens never come back.
POST /UserAgent/ConnectorList { "useragentguid": "YOUR_AGENT_GUID" }Response { "result": true, "errors": [], "useragentconnectors": [ { "slug": "tiktok", "title": "TikTok", "authtype": "provider-oauth", "status": "connected", "accounts": {}, "savedvariables": [ "clientkey", "clientsecret" ], "lasterror": null } ] } - 05
Disconnect
Revokes a sign-in where the vendor allows it, deletes what the connection holds and removes the connector from the running agent.
POST /UserAgent/ConnectorDisconnect { "useragentguid": "YOUR_AGENT_GUID", "slug": "tiktok" }Response { "result": true, "errors": [], "removed": true, "revoked": true, "restart": "scheduled" }
Questions
TikTok and Wiro FAQ
What can a TikTok AI agent do with this Connector?
It posts videos to your TikTok account, or sends them to your TikTok inbox as drafts, posts photo carousels from a verified domain, and follows each post until TikTok has processed it. It reads your current posting options, your profile, and your public videos with their views, likes, comments and shares.
How do I connect TikTok to an AI agent?
TikTok connects through your own TikTok for Developers app. Add the Login Kit, Content Posting API and Display API products, turn on the four scopes the Connect dialog lists, add its redirect URI and submit the app for review. Once TikTok approves it, enter the Client Key and Client Secret on the agent's Connectors tab, or set it up with the agent in Chat, and sign in with the account that should post. No TikTok MCP server is involved: the Connector works inside the agent.
Why are the videos my agent posts private on TikTok?
Until TikTok audits your app, it lets the app post only with the Only me privacy level, and only to an account set to private. This is TikTok's rule for every unaudited app. Once the audit passes, the agent can use the privacy levels your account offers, such as everyone, friends or followers.
Can I automate TikTok posting without approving each video?
That depends on where the agent works. In Chat, a post or an inbox upload waits until you approve it, and reading your videos and their numbers never asks. Scheduled Tasks post on their own by default, so an evening video needs nobody at the screen. To change either, set the action to Allow, Ask or Block in its Chat or Autopilot column on the agent's Connectors tab; Autopilot is the column for Scheduled Tasks.
What video formats and limits does TikTok set?
Videos can be MP4, MOV or WebM up to 4 GB, one video per post, with a caption of up to 2,200 characters; links in captions are not clickable. Photo posts take 1 to 35 JPEG or WebP images up to 1080p and 20 MB each, downloaded by TikTok only from a domain verified in your app. TikTok also caps how many posts a creator can make in a day and keeps up to five pending inbox drafts a day.
Where are my TikTok keys stored?
The Client Key and Client Secret are only used to sign in. The access and refresh tokens TikTok returns are stored encrypted, out of reach of the AI model. When you disconnect TikTok on the Connectors tab, they are deleted and TikTok is asked to revoke the sign-in.
Do I pay extra to post on TikTok through an agent?
No. The Connector itself carries no extra charge on any agent plan. TikTok's own requirements still apply: its app review and audit, and the daily posting limits on your account.
Access
Revoke TikTok access
Remove the app's access in your TikTok account's connected apps settings, then disconnect it here.
Related connectors
More social connectors for your Wiro agent
TumblrCreate and publish posts on your Tumblr blogs.
XPost, reply and read on X (Twitter).
YouTubeUpload and publish videos and Shorts, edit metadata and playlists, and read channel…
BlueskyRead profiles and post to Bluesky with links, mentions, hashtags and images.
Facebook PagesPublish posts, photos and videos to your Facebook Pages and read their engagement.
InstagramPublish photos, carousels, Reels and Stories to your Instagram professional accounts.
Put TikTok to work with Wiro
Deploy an agent and connect TikTok from its Connectors tab. Every agent plan includes it: Starter $5, Pro $30 and Max $100 a month.