TikTok API

TikTok posting API for developers and agents

Schedule TikTok videos and image posts from one REST API. Built for scripts, custom apps, and AI agents.

  • 7-day free trial
  • Video + images
  • Plans from $9.99/mo

step by step

How to post to TikTok with the API

Create a key, connect TikTok, then schedule a post.

01Create an API key

Open Dashboard → AI & API, create a key, and send it as Authorization: Bearer pw_live_…. Connect your TikTok account if you have not already.

Endpoints

API base URL

https://postwing.io/api/v1

Docs

https://postwing.io/docs
02Schedule to TikTok

Call POST /posts/preview with a caption, time, platforms: ["tiktok"], and media. Full field reference is in the API docs.

Example TikTok video
curl -s -X POST "https://postwing.io/api/v1/posts/preview" \
  -H "Authorization: Bearer pw_live_…" \
  -H "Content-Type: application/json" \
  -d '{
  "caption": "New video from the TikTok posting API",
  "scheduled_at": "2026-10-05T18:00:00Z",
  "platforms": [
    "tiktok"
  ],
  "media_items": [
    {
      "url": "https://cdn.example.com/video.mp4",
      "type": "video"
    }
  ]
}'

what you can do

TikTok posting from one API

Same PostWing API as the full product, scoped to TikTok when you set platforms to tiktok.

  • Schedule TikTok videos and image posts
  • Upload media with a direct upload URL
  • Set privacy, comments, duet, and stitch options
  • Mark AI-generated content or save as draft
  • Edit or cancel scheduled TikTok posts from the same API

built for TikTok

Videos and images with platform controls

Upload media, set a caption, pick a time, and target TikTok. Tune privacy and interaction settings when you need them.

  • Videos publish as standard TikTok posts
  • Image posts support an optional title
  • Scheduled posts show up on your PostWing calendar

TikTok options

Platform settings that matter

Pass these on targets[].platform_options when you need more control.

  • privacy_status public or private (default public)
  • allow_comment allow_duet, and allow_stitch toggles
  • is_ai_generated and is_draft when you need them
  • title for image posts only
  • Preview → confirm so nothing schedules without approval
  • API key or OAuth with scoped access

one API

Same API for every network

There is no separate TikTok product. Pass platforms or targets[] on the same preview → confirm flow. Add Instagram, TikTok, YouTube, LinkedIn, X, Facebook, Pinterest, or Threads without changing your integration.

  • Facebook
  • X (Twitter)
  • Pinterest
  • Threads
  • YouTube
  • Instagram
  • LinkedIn
  • TikTok

Connect accounts once in PostWing (or via the accounts endpoints)

Call POST /posts/preview with the networks you want on that post

Confirm with the token. One key covers every platform PostWing supports.

questions

TikTok posting API FAQ

Yes. Upload a video, set platforms to tiktok (or target a connected TikTok account), then preview and confirm. Posts land on your PostWing calendar.

ready when you are

Schedule your next TikTok post from the API

Create an API key, connect TikTok, and schedule videos from your app.

7-day free trial · Cancel anytime