TikTok

The TikTok API developers actually want

Read and reply to comments, moderate your community, and publish videos with disclosure settings, all through a clean REST API. SocialAPI.ai wraps TikTok's v2 API, handles token auto-refresh, and normalizes the data into the same schema you use for every other platform.

Free tier available
Instant API key
MCP server included

What you can do with TikTok.

Supported

Publishing

Upload and publish videos with captions, disclosure settings, and content interaction controls.

Supported

Webhooks

Receive real-time notifications for new comments and video status changes.

See it in action.

Publish a video to TikTok

api.social-api.ai
1# 1. Upload media
2curl -X POST https://api.social-api.ai/v1/media/upload \
3  -H "Authorization: Bearer <your-api-key>" \
4  -F "file=@video.mp4"
5
6# 2. Create the post
7curl -X POST https://api.social-api.ai/v1/posts \
8  -H "Authorization: Bearer <your-api-key>" \
9  -H "Content-Type: application/json" \
10  -d '{
11    "account_id": "<account-id>",
12    "platforms": ["tiktok"],
13    "text": "Check out this tutorial! #coding #devlife",
14    "media_ids": ["<media-id>"],
15    "platform_options": {
16      "tiktok": {
17        "disclosure": { "branded_content": false, "paid_partnership": false }
18      }
19    }
20  }' | jq

Create a post with a video upload, caption, and required disclosure settings. SocialAPI.ai handles TikTok's chunked upload flow and status polling.

Why developers love TikTok on SocialAPI.ai

1

Comment moderation at scale

Read all comments across your TikTok videos through one paginated endpoint. Reply to engage with your audience, hide inappropriate comments, like positive feedback, or delete spam. SocialAPI.ai normalizes TikTok's comment data into the same schema used for Instagram, Facebook, and every other platform.

2

Video publishing with disclosures

Publish videos to TikTok with full control over captions, disclosure settings, and content interaction toggles. TikTok requires branded content and paid partnership declarations, and SocialAPI.ai validates these before submission, returning clear errors if any required fields are missing.

3

Automatic token refresh

TikTok access tokens expire frequently. SocialAPI.ai monitors token validity, automatically refreshes expired tokens using the stored refresh token, and retries failed requests transparently. You never need to handle TikTok's OAuth token lifecycle in your application code.

4

Webhook event delivery

Receive real-time notifications when new comments appear on your videos or when video processing completes. SocialAPI.ai validates TikTok webhook signatures and delivers events to your configured endpoints with exponential-backoff retries and delivery status tracking.

Frequently asked questions.

Get started today

Ready to unify your social interactions?

Free tier available · No credit card required · Ships with MCP server