TikTok
Videos and photo posts. Privacy level is required.
API id: tiktok
TikTok has two post types. Choose one with channels[].postType. If you
leave it out, you get video.
postType | What it is |
|---|---|
video (default) | One video. |
photo | Up to 35 pictures that viewers swipe through. The first one is the cover. |
At a glance
| Video | Photo | |
|---|---|---|
| Text | 2,200 characters (caption) | 4,000 characters (description) |
| Title | No | Optional, 90 characters |
| Files per post | Exactly 1 video | 1 to 35 pictures |
| File needed? | Yes | Yes |
| Music | No | Optional: TikTok adds a recommended song |
| Threads | No | No |
| Edit after publish | No | No |
| Delete after publish | No: TikTok does not let apps delete posts | No |
| Analytics | Views, impressions, likes, comments, shares | Same |
| Comments | No. TikTok does not offer this to apps. | No |
Files
Video
- MP4 or MOV.
- The longest video allowed depends on the account. TikTok decides this per creator.
Photo
- JPEG, PNG or WebP. Bulkit sends TikTok a JPEG copy scaled down to 1080p, TikTok's limit. Your original file is not changed.
- Photo posts need one extra setup step in your TikTok app: verifying Bulkit's photo link. See the TikTok app setup guide.
Options
| Key | Type | What it does |
|---|---|---|
privacy_level | choice | Required. Who can see the video, for example PUBLIC_TO_EVERYONE or SELF_ONLY. The allowed values depend on the account: read them from GET /channels/{id}/capabilities. |
allow_comment | true / false | Let viewers comment. |
allow_duet | true / false | Let others film next to your video. |
allow_stitch | true / false | Let others use a clip of your video in theirs. |
video_cover_timestamp_ms | text | Which frame to use as cover, in milliseconds. Default: the first frame. |
disclose_content | true / false | Turn on if the video promotes a brand, product or service. Then set at least one of the two below. |
brand_organic_toggle | true / false | You promote yourself or your own business. |
brand_content_toggle | true / false | You promote another brand for payment. Cannot be used with privacy_level: SELF_ONLY. |
is_aigc | true / false | Adds TikTok's "AI-generated" label. |
auto_add_music | true / false | Photo posts only. TikTok adds a recommended song. You can't pick the song through the API; change it later in the TikTok app. |
Photo posts take privacy_level, allow_comment, auto_add_music,
is_aigc and the three disclosure keys. allow_duet, allow_stitch and
video_cover_timestamp_ms are video only.
Remember: true / false values are sent as the strings "true" and "false".
Example
{
"channelId": "CHANNEL_TIKTOK",
"options": {
"privacy_level": "PUBLIC_TO_EVERYONE",
"allow_comment": "true",
"allow_duet": "false",
"allow_stitch": "false"
},
"blocks": [{ "content": "Behind the scenes 🎬", "mediaIds": ["VIDEO_ID"] }]
}Example: a photo post
{
"channelId": "CHANNEL_TIKTOK",
"postType": "photo",
"title": "Our new studio",
"options": {
"privacy_level": "PUBLIC_TO_EVERYONE",
"auto_add_music": "true"
},
"blocks": [
{
"content": "A look around the new space ✨",
"mediaIds": ["PHOTO_1", "PHOTO_2", "PHOTO_3"]
}
]
}Good to know
Unaudited apps can only post privately
Until TikTok approves your app in its review, TikTok only allows
SELF_ONLY (private) posts, whatever you send.
- If you send a
privacy_levelthe account does not allow, the account's allowed setting is used when the video is published. - By turning on
brand_organic_toggleorbrand_content_toggle, you agree to TikTok's Music Usage Confirmation (and Branded Content Policy for branded content).
Set up
To connect accounts, you first need your own app on this platform. See the TikTok app setup guide.