Skip to main content

tiktok

tiktok.account_stats​

TikTok account stats

Effects: read

Get the connected TikTok account's profile (username, display name, avatar) and stats (followers, following, likes, videos).

Arguments​

No arguments.

tiktok.creator_info​

TikTok posting options

Effects: read

Read the connected TikTok account's posting options before publishing: nickname and avatar, the privacy levels it offers, whether comments/duets/stitches are switched off in its TikTok settings, and the longest video it may post. Call it before posts.publish and let the user pick the privacy level.

Arguments​

ArgumentTypeRequiredDescription
channel_account_idintegernoConnected TikTok channel_account.id. OMIT to auto-resolve the workspace's account.

tiktok.list_videos​

List TikTok videos

Effects: read

List videos on the connected TikTok account. Returns id, title, share_url, view/like/comment/share counts. Paginate via cursor.

Arguments​

ArgumentTypeRequiredDescription
cursorintegernoPagination cursor from a previous call's cursor. Omit for the first page.
max_countintegernoPage size, 1-20. Default 20.