> This page is for Agent Handler.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.merge.dev/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.merge.dev/_mcp/server.

# TikTok

**Authentication:** OAuth (TikTok Open Platform). See [Magic Link](/merge-agent-handler/features/magic-link) for the runtime auth flow.

## Sample use cases

* Publish a video from a URL to the authenticated creator's account.
* Post a photo carousel and track its publishing status until it completes.
* List the authenticated user's public videos and pull details for specific IDs.

## Available Tools

#### get_creator_info

Get the authenticated creator's posting settings: available privacy levels, max video duration, and duet/stitch/comment defaults. Requires video.publish scope.

#### init_video_post

Initialize a TikTok video post. Returns a publish_id to track with get_post_status, and an upload_url for FILE_UPLOAD. Requires video.publish scope.

#### init_photo_post

Initialize a TikTok photo carousel post with up to 35 photo URLs. Returns a publish_id to track with get_post_status. Requires video.publish scope.

#### get_post_status

Check the publishing status of a TikTok post by publish_id. Requires video.publish scope.

#### get_user

Get the authenticated TikTok user's profile: display name, avatar, bio, follower/following counts, and verification status. Requires user.info.basic scope.

#### list_videos

List the authenticated user's public TikTok videos, sorted by creation date descending. Requires video.list scope.

#### get_videos

Retrieve specific TikTok videos by their IDs, up to 20 at a time. Requires video.list scope.