Skip to content
Development accessTier 2socialProvider id: tiktokManifest r2

TikTok

TikTok Content Posting API audit pending. Direct video uploads and photo carousels.

Connection note

Connects a TikTok creator account via OAuth 2.0 with PKCE. Until TikTok audits Honeloop's Content Posting API app, unaudited apps can only publish privately (SELF_ONLY) to sandbox accounts.

Specification summary

Text limit
2,200 charactersUTF-16 code units
Media attachments
Media required: up to 35 images, up to 1 video (one kind per part)
Threads and parts
Single part only
Authentication
OAuth 2.0 with PKCECloud shares a platform app once reviewed; self-hosters register their own app.
Approvals and autonomy
Starts on Approve everything; ceiling on_the_loop (no unsupervised auto-publish)Default publish: in_the_loop · Ceiling: on_the_loop
Analytics and API cost
Allowed for analytics and learningIncluded (no per-call platform API surcharge)

Authentication and token lifecycle

Credentials are encrypted at rest and scoped to the connected channel. You can revoke and scrub stored tokens immediately via POST /v2/channels/disconnect or from the web app; see Data deletion for full revocation and deletion details.

VariantFlowRefresh policyPlatform scopes
Sign in with TikTokOAuth 2.0 with PKCErefresh_token · proactive · serialised rotation
user.info.basicuser.info.profileuser.info.statsvideo.listvideo.publishvideo.upload

Content and media constraints

Editor mode: plaintext. Minimum text length: 0. Polls: not supported. AI content disclosure: supported via is_aigc.

KindAccepted MIME typesMax countMax file sizeAdditional bounds
image
image/jpegimage/webp
3520 MiBNone
video
video/mp4video/quicktimevideo/webm
1512 MiBMax duration 10 min

Guardrails, rate limits and compliance

Manifest validation rules

  • Hard ruletiktok.media_formats

    Attach either 1 video (MP4, MOV, or WebM) or 1 to 35 images (JPEG or WebP); videos and photos cannot be mixed in one TikTok post.

  • Hard ruletiktok.post_constraints

    Do not combine paid partnership (brand_content_toggle) with SELF_ONLY privacy, keep photo titles within 90 characters, and publish AI-disclosed media as video because TikTok's API lacks an AI disclosure flag for photo posts.

  • Hard ruletiktok.text.hashtag_max

    Use at most 100 hashtags in a TikTok caption.

  • Hard ruletiktok.video.too_short

    Videos must be at least 3 seconds long on TikTok.

  • Hard ruletiktok.video.resolution_too_small

    Videos must have a minimum short-edge resolution of 540px on TikTok.

  • Advicetiktok.creator_info

    Call query_creator_info to verify the account's permitted privacy levels and maximum video duration before publishing.

Queue and rate-limit windows

Worker queue: tiktok (max 2 concurrent jobs). Supports asynchronous platform processing (poll interval 10s, budget 10 min).

ScopeOperationWindowMax operations
channelpublish24 hours50

Shipped platform guardrails

  • forbidApplies to: agent, oauth_client, api_key, user

    Honeloop does not reply to or comment on other people's posts on any platform (26 R4-N1).

  • forbidApplies to: agent, oauth_client, api_key

    Engagement automation, solicited replies included, is out of scope on every platform (26 R4-N1).

  • forbidApplies to: user, api_key, oauth_client, agent

    Direct messages are out of scope (constitution §1).

  • forbidApplies to: agent, oauth_client, api_key

    TikTok publishing requires a video or at least one image; a text-only rendition would be refused by TikTok.

Manifest helper tools

Invoke via POST /v2/providers/invoke_tool or MCP invoke_provider_tool:

  • Query TikTok creator posting infoquery_creator_infochannels:read

    Read the connected TikTok creator's allowed privacy_level options, interaction toggles, and maximum video duration before posting. Example: {} returns {"privacy_level_options":["PUBLIC_TO_EVERYONE","SELF_ONLY"],"comment_disabled":false,"duet_disabled":false,"stitch_disabled":false,"max_video_post_duration_sec":600}.

Publish to TikTok

Every call passes the same 12-stage policy gate, manifest preflight check and audit trail. Under the default in_the_loop policy, scheduling returns HTTP 202 ApprovalDiversion until a reviewer approves.

# 1. Upload compliant media first (TikTok requires media on part 1)
MEDIA_ID=$(hl media upload ./autumn-firing.jpg --json | jq -r '.id')

# 2. Draft and schedule for your TikTok channel (provider: tiktok)
hl posts create --input '{"channel_ids":["'"$CHANNEL_ID"'"],"parts":[{"text":"Speckled oatmeal mugs from the autumn firing are in the shop Tuesday at 10:00.","media_ids":["'"$MEDIA_ID"'"]}]}'
hl posts schedule "$POST_ID" --version 1 --at 2026-11-26T09:30:00Z

Common questions

How does Honeloop count characters for TikTok?

TikTok allows up to 2,200 characters by default using UTF-16 code units. Honeloop validates text length before scheduling and rejects over-limit drafts with 400 validation_failed instead of failing after approval.

What media and multi-part formats does TikTok support?

Media required: up to 35 images, up to 1 video (one kind per part). Single part only.

How do authentication and approvals work on TikTok?

TikTok connects via OAuth 2.0 with PKCE. Starts on Approve everything; ceiling on_the_loop (no unsupervised auto-publish). Disconnecting the channel immediately revokes and scrubs stored credentials.

What compliance guardrails apply to TikTok?

Analytics AI posture is allowed. Cost model: Included (no per-call platform API surcharge). Access status: development access while platform review is pending.

Other platforms in this tier