step by step
How to post to TikTok with the API
Create a key, connect TikTok, then schedule a post.
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/v1Docs
https://postwing.io/docsCall POST /posts/preview with a caption, time, platforms: ["tiktok"], and media. Full field reference is in the API docs.
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_statuspublic or private (default public)allow_commentallow_duet, and allow_stitch togglesis_ai_generatedand is_draft when you need themtitlefor 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.
- X (Twitter)
- Threads
- YouTube
- 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.