TikTok Posting API
Add TikTok publishing to your SaaS product, automation, agency workflow, or AI system through one PostPeer integration.
- Publish videos, photos, and photo carousels
- Set TikTok privacy and interaction options
- Schedule content for future publishing
- Connect TikTok accounts through OAuth
{ "platforms": ["twitter", "linkedin"], "content": "Hello world!" }
"I was up and running on six different platforms in under 30 minutes. Strongly recommend!"
David Flor, Founder at Darklight Interactive
"Couldn't figure out the official Pinterest API. PostPeer was smooth. Using it daily."
Divanshu Khatter, Marketing Manager at Sembark
"Great integration experience. Jonathan ships fixes within hours. Mad respect for the speed."
Het Tikawala, Founder at Kalizzle AI Studio
Add Social Media to Your Product in Three Steps
Connect once, then publish, schedule, and read data through the same API.
01
Get Your API Key
Sign up and get your API key instantly. No sales calls or complicated setup.
02
Integrate in Minutes
Connect once to PostPeer to publish, schedule, analyze, manage comments, and handle messages.
03
Support Every Major Platform
Give your users access to major social platforms without building and maintaining each integration yourself.
New to PostPeer? Read the getting started guide
Explore Requests and Responses by Format
Use the same endpoint and change only the fields required for each publishing format.
{
"content": "Quick tutorial! #coding #devtips",
"platforms": [
{
"platform": "tiktok",
"accountId": "tt_321",
"platformSpecificData": {
"privacyLevel": "PUBLIC_TO_EVERYONE",
"disableComment": false,
"disableDuet": false,
"disableStitch": false,
"draft": false
}
}
],
"mediaItems": [
{
"type": "video",
"url": "https://cdn.example.com/video.mp4"
}
],
"publishNow": true
}{
"success": true,
"status": "published",
"postId": "post_abc123",
"platforms": [
{
"platform": "tiktok",
"success": true,
"platformPostUrl": "https://www.tiktok.com/@user/video/7123456789"
}
]
}POST https://api.postpeer.dev/v1/posts
Everything You Need for TikTok Posting
Video Uploads
Upload videos from a URL or directly. PostPeer handles TikTok's multi-step upload process automatically.
Captions & Hashtags
Set video captions with hashtags for discovery. PostPeer validates caption length against TikTok's limits.
Privacy Settings
Control video visibility: public, friends only, or private. Set via platformSpecificData in your request.
Scheduled Publishing
Schedule TikTok videos for future publication. Time your content for maximum reach.
Cross-Post to Shorts & Reels
Upload one vertical video to TikTok, YouTube Shorts, and Instagram Reels in a single request.
Managed OAuth
No TikTok developer portal setup. PostPeer manages all OAuth flows and token refreshes for your users.
Need More Than Publishing?
Extend your TikTok integration with PostPeer's dedicated scheduling and analytics capabilities.
Ship TikTok Posting in Any Stack
Whether your product is a Node app, a no-code workflow, or an AI agent, the same PostPeer API can power the publishing workflow.
Dev Stack
Typed SDKs and predictable REST APIs let you integrate PostPeer into the stack your application already uses.
- Node.js SDK
- Python SDK
- REST + cURL
- TypeScript-first types
AI Agents & MCP
Give Claude, Cursor, Codex, or your own AI agent the ability to publish, schedule, and interact with social workflows through PostPeer.
Connect via MCPBeyond TikTok: Every Supported Platform
Start with TikTok, then reach every other network through the same API.
Twitter / X API
Publish to Twitter / X via one API.
Instagram API
Publish to Instagram via one API.
YouTube API
Publish to YouTube via one API.
Facebook API
Publish to Facebook via one API.
TikTok API
Publish to TikTok via one API.
Threads API
Publish to Threads via one API.
Pinterest API
Publish to Pinterest via one API.
LinkedIn API
Publish to LinkedIn via one API.
Bluesky API
Publish to Bluesky via one API.
Google Business API
Publish to Google Business via one API.
Add More Social Capabilities
Use the same connected accounts to schedule, analyze, manage comments, and handle conversations.
Frequently Asked Questions
Power Your Next Project With a Unified Social Media API
Give your users posting, scheduling, analytics, and engagement features through one API your team can maintain.
Start with 20 free credits. No credit card required.