- Category: social media accounts
- Auth: OAUTH2
- Composio-managed OAuth available? No
- Tools: 9
- Triggers: 0
- Slug:
TIKTOK - Version: 20261101_00
Tools
Fetch publish status
Fetch publish status
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
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
Get user stats
Get user stats
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
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
List videos
List videos
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
Pagination cursor (UTC Unix timestamp in milliseconds) returned from previous call’s response. Stop pagination when no next cursor is returned.
Output
Post photo
Post photo
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-postInput Parameters
Use DIRECT_POST to publish immediately (requires video.publish), or MEDIA_UPLOAD to send to inbox for editing (requires video.upload)
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.
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-postZero-based index (0 to len(photo_images)-1) indicating which image to use as the cover/thumbnail
DIRECT_POST only. Set true if content is a paid partnership to promote a third-party business.
Output
Publish video
Publish video
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
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.
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.
Output
Query creator info
Query creator info
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
Query videos
Query videos
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
List of TikTok video IDs to fetch metadata for (1-20 per request). Only videos that belong to the authenticated user are returned.
Output
Upload video
Upload video
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
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-postVideo 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.
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.
Timestamp in milliseconds to use as video cover/thumbnail (e.g., 1000 for 1 second into video).
Output
Upload videos (batch)
Upload videos (batch)
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
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-postList 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.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.