TikTok's Content Posting API lets an approved developer app publish videos to a creator's account. You authenticate each creator with TikTok OAuth (Login Kit), request the video.publish / video.upload scopes, and upload the media. Direct Post requires your app to pass TikTok's audit; before that, posts can only be created as drafts the user confirms in-app.
The audit is the hard part for solo builders. PostWire goes through it so your code never touches the approval flow.
TikTok is live on PostWire. Connect with one OAuth click — PostWire carries the platform approval, so there is no app review for you to sit through. Videos stream in chunks up to 1GB, and creator_info is checked before publishing so the privacy options you are offered are the ones your account actually allows.
TikTok uses OAuth, not a password. Your user connects in the dashboard, or you generate the authorization URL via the API:
curl -X POST https://postwire.io/api/oauth/tiktok/url \
-H "Authorization: Bearer $POSTWIRE_API_KEY"
# -> { "url": "https://.../oauth/authorize?..." }
# The user opens the URL, approves, and PostWire stores the token (and refreshes it for you).
Once connected, posting is a single request. Add more networks by putting more strings in platforms.
curl -X POST https://postwire.io/api/post \
-H "Authorization: Bearer $POSTWIRE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"platforms":["tiktok"],"video_url":"https://cdn.example.com/clip.mp4","text":"Behind the scenes 😱 #buildinpublic"}'
PostWire ships a first-class MCP server — not docs-only. Add it to any MCP client:
{
"mcpServers": {
"postwire": {
"command": "npx",
"args": ["-y", "postwire-mcp"],
"env": { "POSTWIRE_API_KEY": "pw_live_xxx" }
}
}
}
Then the agent just calls the tool:
{
"name": "post_to_social",
"arguments": { "platforms": ["tiktok"], "video_url": "https://cdn.example.com/clip.mp4", "text": "Day 12 🚀" }
}
| Direct integration | PostWire | |
|---|---|---|
| Platform audit / review | You apply & maintain it | Handled for you |
| OAuth + token refresh | You build it | Managed |
| AI agent support | Build your own tool | MCP tool out of the box |
| Other networks | One integration each | 9 networks, one API |
| Plan | Price | Brands |
|---|---|---|
| Free | $0 | 1 brand · 30 posts/mo |
| Starter | $9 | 3 brands · 300/mo |
| Pro | $29 | 10 brands · 2,000/mo |
| Agency | $99 | 50 brands |
| Scale | $299 | 200 brands |
Running 50 brands on Ayrshare costs roughly $299 — and its MCP is docs-only, so an agent can't actually post. See PostWire vs Ayrshare.