Skip to main content
Tiktok logo
  • Category: social media accounts
  • Auth: OAUTH2
  • Composio-managed OAuth available? No
  • Tools: 9
  • Triggers: 0
  • Slug: TIKTOK
  • Version: 20261101_00

Tools

Slug: TIKTOK_FETCH_PUBLISH_STATUSCheck the processing status of a TikTok video or photo post using its publish_id. Use this action to poll the status of content after initiating an upload or post. The API returns detailed information about processing stages (upload, download, moderation) and any errors that occurred. Non-terminal statuses mean processing is still pending — never re-initiate TIKTOK_PUBLISH_VIDEO for the same publish_id. Use exponential backoff when polling (e.g., 5s→10s→20s) to avoid the 30 requests/minute per access token rate limit.

Input Parameters

string
required
The unique identifier (max 64 characters) returned from a video upload or photo post initialization. Used to track the posting action and check its processing status.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: TIKTOK_GET_USER_STATSFetches TikTok user information and statistics for the authenticated user. Retrieves user stats (follower_count, following_count, likes_count, video_count) and can optionally fetch profile fields (display_name, username, bio_description, etc.) and basic info (open_id, union_id, avatar URLs). Returns only the fields requested in the fields parameter. Only works for the authenticated account; cannot fetch arbitrary public profiles. Stats may be delayed and not reflect the most recent activity.

Input Parameters

array
List of fields to retrieve. Available fields: Stats fields (user.info.stats scope): follower_count, following_count, likes_count, video_count. Profile fields (user.info.profile scope): username, bio_description, profile_deep_link, is_verified. Basic fields (user.info.basic scope): open_id, union_id, avatar_url, avatar_url_100, avatar_large_url, display_name. Defaults to the 4 statistics fields. Requesting fields without the corresponding OAuth scope returns missing or incomplete data for those fields.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: TIKTOK_LIST_VIDEOSLists the authenticated user’s own public TikTok videos, newest first. Only public posts are returned — private/SELF_ONLY, friends-only, and draft videos never appear (this is a property of the underlying video.list scope, not a bug), so on an account with no public posts the list is empty. Cannot list an arbitrary creator’s videos, and does not provide a global TikTok-wide feed. Returns a single page (up to max_count, capped at 20). It does NOT auto-loop: when has_more is true, call again passing the returned cursor to fetch the next page. Accounts with more than max_count public videos are otherwise silently truncated.

Input Parameters

integer
Pagination cursor (UTC Unix timestamp in milliseconds) returned from previous call’s response. Stop pagination when no next cursor is returned.
integer
Maximum number of videos to retrieve per page. Default is 10, maximum is 20.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: TIKTOK_POST_PHOTOCreate a photo post (1-35 images) on TikTok via Content Posting API. Supports two modes: - MEDIA_UPLOAD: Uploads photos to user’s inbox for review/editing before posting - DIRECT_POST: Immediately posts photos to user’s TikTok account IMPORTANT: Photo URLs must be from your TikTok-verified domain. Unverified domains will return 403 Forbidden. Unaudited apps can only post with privacy=‘SELF_ONLY’. Rate limit: 6 requests per minute per user access token. Reference: https://developers.tiktok.com/doc/content-posting-api-reference-photo-post

Input Parameters

string
Post title (<= 90 UTF-16 runes)
string ("DIRECT_POST" | "MEDIA_UPLOAD")
Use DIRECT_POST to publish immediately (requires video.publish), or MEDIA_UPLOAD to send to inbox for editing (requires video.upload)
string
Post description (<= 4000 UTF-16 runes)
array
required
List of 1-35 publicly accessible HTTPS image URLs (JPG, JPEG, or WEBP format). IMPORTANT: URLs must be from your TikTok-verified domain or URL prefix. Random/third-party URLs will be rejected with 403 error.
string ("PUBLIC_TO_EVERYONE" | "MUTUAL_FOLLOW_FRIENDS" | "FOLLOWER_OF_CREATOR" | "SELF_ONLY")
Privacy levels accepted by TikTok’s Content Posting API. The valid set for a given account is only discoverable via /v2/post/publish/creator_info/query/. For unaudited apps only SELF_ONLY is permitted. https://developers.tiktok.com/doc/content-posting-api-reference-direct-post
boolean
DIRECT_POST only. Auto add recommended music.
boolean
DIRECT_POST only. Disallow comments if true.
integer
required
Zero-based index (0 to len(photo_images)-1) indicating which image to use as the cover/thumbnail
boolean
DIRECT_POST only. Set true if content is a paid partnership to promote a third-party business.
boolean
DIRECT_POST only. Set true if content promotes the creator’s own business.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: TIKTOK_PUBLISH_VIDEOPublishes a video to TikTok by pulling it from a public URL. TikTok downloads the video from the provided URL and publishes it directly to the creator’s profile. Publishing is asynchronous — after calling this action, poll TIKTOK_FETCH_PUBLISH_STATUS with the returned publish_id to check completion. For uploading video files instead of URLs, use TIKTOK_UPLOAD_VIDEO.

Input Parameters

string
Optional caption/title text for the video post. Maximum length: 2200 UTF-16 characters.
boolean
Set true to label the video as AI-generated content.
string
required
A publicly accessible URL of the video to publish. TikTok will pull the video from this URL. Must be HTTP/HTTPS. The video will be downloaded by TikTok’s servers, so ensure the URL is accessible and not behind authentication.
boolean
Whether to disable duets on the video.
string ("PUBLIC_TO_EVERYONE" | "MUTUAL_FOLLOW_FRIENDS" | "FOLLOWER_OF_CREATOR" | "SELF_ONLY")
required
Privacy level selected by the user for the published video. Must be one drawn from the account’s creator_info/query options. For unaudited apps only SELF_ONLY is permitted.
boolean
Whether to disable stitches on the video.
boolean
Whether to disable comments on the video.
boolean
Set true if the content is a paid partnership promoting a third-party business.
boolean
Set true if the content promotes the creator’s own business.
integer
Timestamp in milliseconds to use as video cover/thumbnail.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: TIKTOK_QUERY_CREATOR_INFOQueries the authenticated creator’s info and current posting options. Returns the account’s available privacy_level_options and interaction settings (comment/duet/stitch), which the Content Posting API requires you to read before a direct post — the valid privacy_level values for an account are only discoverable here. Call this to pick a real privacy level instead of guessing (unaudited apps only ever get SELF_ONLY).

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: TIKTOK_QUERY_VIDEOSFetches metadata for specific TikTok videos by ID (1-20 per request). Verifies the videos belong to the authenticated user and returns their details, refreshing the cover-image URL’s expiration. Unlike List videos, this looks up known video IDs rather than walking recent uploads.

Input Parameters

array
required
List of TikTok video IDs to fetch metadata for (1-20 per request). Only videos that belong to the authenticated user are returned.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: TIKTOK_UPLOAD_VIDEOUploads a video to TikTok’s inbox or initiates a direct post using the Content Posting API. Direct posting requires a privacy level; the returned published flag reflects the requested mode, not confirmation that publishing completed.

Input Parameters

string
Optional caption/title used when publish=true. Max 2200 UTF-16 runes.
boolean
Set true to label the video as AI-generated content.
boolean
If true, attempts to publish after upload using the returned publish_id.
boolean
Whether to disable duets on the video.
string ("PUBLIC_TO_EVERYONE" | "MUTUAL_FOLLOW_FRIENDS" | "FOLLOWER_OF_CREATOR" | "SELF_ONLY")
Privacy levels accepted by TikTok’s Content Posting API. The valid set for a given account is only discoverable via /v2/post/publish/creator_info/query/. For unaudited apps only SELF_ONLY is permitted. https://developers.tiktok.com/doc/content-posting-api-reference-direct-post
boolean
Whether to disable stitches on the video.
object
required
Video file to upload to TikTok. Files are uploaded whole when possible and split into sequential TikTok-compatible chunks for larger videos. Supported formats include MP4, MOV, WEBM. Recommended aspect ratio 9:16.
boolean
Whether to disable comments on the video.
integer
Optional chunk size for multipart uploads. Must be between 5,000,000 and 64,000,000 bytes and must produce a valid TikTok upload plan. Omit this to choose a safe chunk size automatically.
boolean
Set true if the content is a paid partnership promoting a third-party business.
boolean
Set true if the content promotes the creator’s own business.
integer
Timestamp in milliseconds to use as video cover/thumbnail (e.g., 1000 for 1 second into video).

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: TIKTOK_UPLOAD_VIDEOSUploads multiple videos to TikTok concurrently, either to the creator’s inbox as drafts or using the direct publishing flow. Returns per-file upload results; direct publication status can be checked using the returned publish IDs.

Input Parameters

string
Optional caption/title used when publish=true. Max 2200 UTF-16 runes.
boolean
Set true to label the videos as AI-generated content.
boolean
If true, attempts to publish after each upload using direct publish flow.
integer
Maximum number of parallel uploads
boolean
Whether to disable duets on the videos.
string ("PUBLIC_TO_EVERYONE" | "MUTUAL_FOLLOW_FRIENDS" | "FOLLOWER_OF_CREATOR" | "SELF_ONLY")
Privacy levels accepted by TikTok’s Content Posting API. The valid set for a given account is only discoverable via /v2/post/publish/creator_info/query/. For unaudited apps only SELF_ONLY is permitted. https://developers.tiktok.com/doc/content-posting-api-reference-direct-post
boolean
Whether to disable stitches on the videos.
boolean
Whether to disable comments on the videos.
array
required
List of video files to upload to TikTok in parallel (at least one). Files are uploaded whole when possible and split into sequential TikTok-compatible chunks for larger videos. Supports common video formats like MP4, MOV, WebM. Too-long or unsupported-codec files are rejected. Caption (via caption) must also be within TikTok’s length limit.
integer
Optional chunk size for multipart uploads. Must be between 5,000,000 and 64,000,000 bytes and must produce a valid TikTok upload plan for every file. Omit this to choose a safe chunk size automatically.
boolean
Set true if the content is a paid partnership promoting a third-party business.
boolean
Set true if the content promotes the creator’s own business.
integer
Timestamp in milliseconds to use as video cover/thumbnail.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not