● Built on the official TikTok Content Posting API + Login Kit

Post to TikTok via API: the TikTok Content Posting API, handled for you (2026)

To post to TikTok via API you need an audited TikTok developer app, per-user OAuth, and the Content Posting API to upload a video. PostWire handles the audit, OAuth and upload — you connect a TikTok account once, then publish with one REST call or one MCP tool.

How TikTok posting works

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.

Smart Distribute: a native TikTok caption from one prompt

PostWire's Smart Distribute turns a single prompt (plus optional media) into the best native post for every network — never the same text everywhere, which every algorithm penalizes. For TikTok it writes a hook-first caption with ≤5 hashtags in the caption, tuned to TikTok's own conventions while it simultaneously reframes the same idea for YouTube, X, LinkedIn and the rest. AI generation is included free on every plan (you pay for brands, not per post) and is one MCP tool (generate_posts) or one REST call (POST /api/generate).

What PostWire accesses, and how you consent

PostWire connects your own TikTok account through TikTok's official Login Kit (OAuth). On the TikTok consent screen you explicitly approve these scopes — nothing is accessed without your authorization:

Before anything is published, PostWire shows you the creator info returned by TikTok (your username and avatar), lets you choose the privacy level and the comment / duet / stitch settings, and requires your explicit confirmation. PostWire only ever posts the exact content you (or your authorized agent) send, and only to the account you connected. We never sell or share your data, and you can disconnect your account or delete your data at any time from the dashboard. See our Privacy Policy and Terms of Service.

1. Connect a TikTok account (OAuth)

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).

2. Publish with one REST call

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"}'

3. Or let an AI agent post it (MCP)

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 🚀" }
}

TikTok via API: build it yourself vs PostWire

 Direct integrationPostWire
Platform audit / reviewYou apply & maintain itHandled for you
OAuth + token refreshYou build itManaged
AI agent supportBuild your own toolMCP tool out of the box
Other networksOne integration each9 networks, one API

Pricing: flat per brand

PlanPriceBrands
Free$01 brand · 30 posts/mo
Starter$93 brands · 300/mo
Pro$2910 brands · 2,000/mo
Agency$9950 brands
Scale$299200 brands

Running 50 brands on Ayrshare costs roughly $779 — and its MCP is docs-only, so an agent can't actually post. See PostWire vs Ayrshare.

Get your API key — free →

FAQ

Can I post to TikTok via API?
Yes. TikTok's Content Posting API lets approved apps publish videos to a creator's account. It requires an audited developer app plus per-user OAuth. PostWire wraps the audit, OAuth and upload behind one REST call and one MCP tool.
Why does the TikTok API require an audit?
TikTok gates direct posting (publishing without a manual in-app confirmation) behind an app audit that reviews your use case, content policy and UX. PostWire goes through this audit so you don't have to.
What data does PostWire access from my TikTok account?
Only what you approve on TikTok's OAuth consent screen: your basic profile (user.info.basic) to identify the connected account, and video.publish / video.upload to post the videos you send. PostWire never sells or shares your data, only posts content you explicitly submit to your own authorized account, and lets you disconnect or delete your data at any time.
How does an AI agent post to TikTok?
PostWire ships an MCP server (postwire-mcp). The agent calls post_to_social with platforms set to tiktok, a video_url and text. PostWire resolves the audited OAuth token, uploads via the Content Posting API and returns the result.
How much does posting to TikTok cost?
Flat per-brand pricing: Free $0 (1 brand, 30 posts), Starter $9, Pro $29, Agency $99 for 50 brands, Scale $299. TikTok is included on every plan.
How do I post to TikTok via API?
TikTok's official Content Posting API needs app review, 24-hour token refresh and has no native scheduling. PostWire handles the approval, token refresh and publishing for you.
Can Smart Distribute write my TikTok caption?
Yes. It writes a hook-first caption with up to 5 hashtags in the caption.