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.

postTypeWhat it is
video (default)One video.
photoUp to 35 pictures that viewers swipe through. The first one is the cover.

At a glance

VideoPhoto
Text2,200 characters (caption)4,000 characters (description)
TitleNoOptional, 90 characters
Files per postExactly 1 video1 to 35 pictures
File needed?YesYes
MusicNoOptional: TikTok adds a recommended song
ThreadsNoNo
Edit after publishNoNo
Delete after publishNo: TikTok does not let apps delete postsNo
AnalyticsViews, impressions, likes, comments, sharesSame
CommentsNo. 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

KeyTypeWhat it does
privacy_levelchoiceRequired. 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_commenttrue / falseLet viewers comment.
allow_duettrue / falseLet others film next to your video.
allow_stitchtrue / falseLet others use a clip of your video in theirs.
video_cover_timestamp_mstextWhich frame to use as cover, in milliseconds. Default: the first frame.
disclose_contenttrue / falseTurn on if the video promotes a brand, product or service. Then set at least one of the two below.
brand_organic_toggletrue / falseYou promote yourself or your own business.
brand_content_toggletrue / falseYou promote another brand for payment. Cannot be used with privacy_level: SELF_ONLY.
is_aigctrue / falseAdds TikTok's "AI-generated" label.
auto_add_musictrue / falsePhoto 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_level the account does not allow, the account's allowed setting is used when the video is published.
  • By turning on brand_organic_toggle or brand_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.

On this page