TikTok Upload
AI-generatedSummary
Upload video to TikTok with optional product anchors, caption, visibility, comments, and scheduling.
Inputs
- text — Text caption for the video, default empty string.
- visibilityType — Who can see this video: 0=Public, 1=Friends, 2=Private, default 0.
- allowComment — Whether to allow comments on this video: 1=Yes, 0=No, default 1.
- scheduleTime — Unix timestamp for scheduled publishing; 0 for immediate, default 0.
- anchors — Product anchors; fixedCollection with multipleValues, each having type (default product), productId, and displayName.
- videoInputType — Where to get the video from: binaryData or url, default binaryData.
- videoBinaryField — Name of the binary field containing video, default 'data', shown when videoInputType is binaryData.
- videoUrl — URL of the video to upload, shown when videoInputType is url.
Output shape
Array of executed items. Each output item has a json property containing success (boolean) and the TikTok API response. If continueOnFail is enabled, errors produce json with error message and statusCode instead of throwing.
One output item per input item. The execute function posts to the TikTok API and returns the server's response merged with a success flag.
