TikTok
pepe.business is a TikTok Marketing Partner. Publishing via the Content Posting API.
Connection
POST /v1/connect/tiktok
{ "scopes": ["video.publish", "user.info.basic", "video.list"] }
Publishing
Video
POST /v1/posts
{
"text": "New recipe! 🍝",
"platforms": ["tiktok"],
"mediaUrls": ["https://example.com/recipe.mp4"],
"tiktokOptions": {
"allowComments": true,
"allowDuet": true,
"allowStitch": true,
"privacyLevel": "PUBLIC_TO_EVERYONE"
}
}
Limits:
- Video: MP4, WebM, MOV
- Duration: 10s to 10min
- Size: max 500 MB
- Ratio: 9:16 (recommended), 1:1, 16:9 supported
With sound
POST /v1/posts
{
"text": "Dance trend",
"platforms": ["tiktok"],
"mediaUrls": ["https://example.com/dance.mp4"],
"tiktokOptions": {
"soundId": "sound_xxx"
}
}
Insights
GET /v1/analytics/post/{postId}?platform=tiktok
{
"views": 12483,
"likes": 932,
"comments": 41,
"shares": 87,
"saves": 23,
"reach": 10200,
"forYou": 8900,
"following": 1300,
"profileVisits": 12
}
Creator info
GET /v1/tiktok/creator-info
Returns follower count, total views, total likes.
Limitations
- TikTok Business account required (not Personal)
- No Stories via API
- No Live via API
- Publishing only, no editing after the fact