Skip to main content

TikTok

Beta

The TikTok integration is currently in beta. As this integration is subject to change we do not recommend using it in production workflows yet.

TikTok is a social media application developed by ByteDance.

This integration allows you to automatically upload your videos to TikTok for publishing.

Setup

To send your videos directly to your TikTok you will have to connect Shotstack to your TikTok. This will provide Shotstack with permissions to upload files to TikTok on your behalf.

Login to the dashboard and navigate to the integrations page, find the TikTok destination and click configure.

Click the Connect to TikTok button and follow the prompts.

Integration

Basic integration

To send your video to TikTok add the following to the output parameter of the render payload:

"destinations": [{
"provider": "tiktok"
}]

TikTok options

You can pass additional options to control the title, privacy level, and interaction features for the uploaded video:

"destinations": [{
"provider": "tiktok",
"options": {
"title": "My Automated Video",
"privacyLevel": "public",
"disableDuet": false,
"disableStitch": false,
"disableComment": false
}
}]

The available options are:

OptionTypeDescription
titlestringA title for the video displayed on TikTok (max 150 characters).
privacyLevelstringThe privacy level for the video: public, friends, or private (default: private).
disableDuetbooleanDisable the Duet feature for this video (default: false).
disableStitchbooleanDisable the Stitch feature for this video (default: false).
disableCommentbooleanDisable comments on this video (default: false).

Opting out from the Shotstack destination

By default all generated files are sent to the Shotstack destination. If you are using TikTok you may wish to opt out from hosting your videos with Shotstack using:

"destinations": [{
"provider": "tiktok"
},{
"provider": "shotstack",
"exclude": true
}]

This will send the generated video to TikTok but not to Shotstack.