TikTok API

TikTok Posting API

Upload and publish videos to TikTok programmatically. PostPeer handles TikTok's upload flow, content policies, and authentication.

  • Video uploads with captions and hashtags
  • Privacy and comment settings
  • Scheduled posting
  • No TikTok developer app needed
No credit card required.
POST https://api.postpeer.dev/v1/posts
{ "platforms": ["twitter", "linkedin"], "content": "Hello world!" }
Published
5 platforms
TwitterLinkedInFacebook+2
All posts delivered
Scheduled
queue
12
Queued
847
Sent
Next: in 15 min
Platforms
connected
XIGFBLITT
One API, every platform

How It Works

Add social media to your product in three steps.

01

Get Your API Key

Sign up and get your API key instantly — no sales calls, no complex onboarding.

02

Integrate in Minutes

A single endpoint to post, schedule, and manage content. Drop it into your product and go.

03

Your Users Post Everywhere

Your product now supports every major social platform — without you maintaining a single integration.

API Response Format

Clean, structured JSON that's easy to parse and integrate

Request

POST
curl -X POST https://api.postpeer.dev/v1/posts \
  -H "x-access-key: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "content": "Quick tutorial! #coding #devtips",
    "mediaItems": [
      { "url": "https://cdn.example.com/tiktok-video.mp4", "type": "video" }
    ],
    "platforms": [
      {
        "platform": "tiktok",
        "accountId": "acc_tt_321"
      }
    ]
  }'

Response

JSON
{
  "postId": "post_pqr678",
  "status": "published",
  "platforms": [
    {
      "platform": "tiktok",
      "status": "published",
      "platformPostId": "7123456789",
      "platformPostUrl": "https://www.tiktok.com/@user/video/7123456789"
    }
  ]
}

Everything You Need for TikTok Publishing

Skip TikTok's complex upload API. PostPeer gives you a single endpoint for video publishing.

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.

Frequently Asked Questions

Ready to Add Social Media to Your Product?

One API. Every platform. Start building with free credits.

Start Posting for FreeNo credit card required.
POST https://api.postpeer.dev/v1/posts
{ "platforms": ["twitter", "linkedin"], "content": "Hello world!" }
Published
5 platforms
TwitterLinkedInFacebook+2
All posts delivered
Scheduled
queue
12
Queued
847
Sent
Next: in 15 min
Platforms
connected
XIGFBLITT
One API, every platform