Tiktok

Learn how to use Tiktok with Composio

Overview

Enum

TIKTOK

Description

TikTok short-form video platform + creation tools + social sharing

Authentication Details

client_id
stringRequired
client_secret
stringRequired
oauth_redirect_uri
string
scopes
string
access_token
string
token
stringRequired

Actions

Fetch current publish/upload status for a given publish id.

Action Parameters

publish_id
stringRequired

Action Response

data
object
error
string
successful
boolean
Fetches basic tiktok user info for the authenticated user.

Action Parameters

fields
array

Action Response

data
object
error
string
successful
boolean
Fetches extended tiktok profile info for the authenticated user.

Action Parameters

fields
array

Action Response

data
object
error
string
successful
boolean
Fetches tiktok user stats for the authenticated user.

Action Parameters

fields
array

Action Response

data
object
error
string
successful
boolean
Lists videos for the authenticated user (or specified creator).

Action Parameters

creator_id
string
cursor
string
max_count
integerDefaults to 20

Action Response

data
object
error
string
successful
boolean
Create a photo post via content posting api (direct post or media upload). reference: https://developers.tiktok.com/doc/content-posting-api-reference-photo-post?enter method=left navigation

Action Parameters

auto_add_music
boolean
brand_content_toggle
boolean
brand_organic_toggle
boolean
description
string
disable_comment
boolean
photo_cover_index
integerRequired
photo_images
arrayRequired
post_mode
stringDefaults to MEDIA_UPLOAD
privacy_level
string
title
string

Action Response

data
object
error
string
successful
boolean
Finalize and publish a video from the inbox using its publish id.

Action Parameters

caption
string
publish_id
stringRequired

Action Response

data
object
error
string
successful
boolean
Uploads a video to tiktok via the content posting api (init + single-part upload). this action initializes an upload session to obtain a presigned upload url, then uploads the entire file with a single put request. use a subsequent action to publish the post.

Action Parameters

caption
string
chunk_size_bytes
integerDefaults to 5242880
file_to_upload
objectRequired
publish
boolean

Action Response

data
object
error
string
successful
boolean
Uploads multiple videos to tiktok concurrently (init + single-part upload per file).

Action Parameters

caption
string
chunk_size_bytes
integerDefaults to 5242880
files_to_upload
array
max_workers
integerDefaults to 4
publish
boolean

Action Response

data
object
error
string
successful
boolean