{
  "name": "TikTok Content Posting API rules",
  "checked_on": "2026-11-29",
  "license": "CC BY 4.0, APIWings (https://apiwings.com/blog/tiktok-content-posting-api)",
  "note": "Every value comes from TikTok for Developers pages read on 28 November 2026. TikTok changes them without notice: check the source before relying on one.",
  "sources": {
    "direct_post_get_started": "https://developers.tiktok.com/docs/en/content-posting-api-get-started",
    "upload_get_started": "https://developers.tiktok.com/docs/en/content-posting-api-get-started-upload-content",
    "direct_post_reference": "https://developers.tiktok.com/docs/en/content-posting-api-reference-direct-post",
    "upload_reference": "https://developers.tiktok.com/docs/en/content-posting-api-reference-upload-video",
    "photo_reference": "https://developers.tiktok.com/docs/en/content-posting-api-reference-photo-post",
    "creator_info": "https://developers.tiktok.com/docs/en/content-posting-api-reference-query-creator-info",
    "post_status": "https://developers.tiktok.com/docs/en/content-posting-api-reference-get-video-status",
    "media_transfer": "https://developers.tiktok.com/docs/en/content-posting-api-media-transfer-guide",
    "content_sharing_guidelines": "https://developers.tiktok.com/docs/en/content-sharing-guidelines",
    "app_review_guidelines": "https://developers.tiktok.com/docs/en/app-review-guidelines",
    "app_review_faq": "https://developers.tiktok.com/docs/en/getting-started-faq",
    "sandbox": "https://developers.tiktok.com/docs/en/add-a-sandbox",
    "access_tokens": "https://developers.tiktok.com/docs/en/oauth-get-a-user-access-token",
    "scopes": "https://developers.tiktok.com/docs/en/tiktok-api-scopes",
    "refresh_token": "https://developers.tiktok.com/docs/en/oauth-refresh-a-user-access-token"
  },
  "scopes": {
    "DIRECT_POST": "video.publish",
    "MEDIA_UPLOAD": "video.upload"
  },
  "endpoints": {
    "creator_info": "POST /v2/post/publish/creator_info/query/",
    "video_direct_post": "POST /v2/post/publish/video/init/",
    "video_upload_inbox": "POST /v2/post/publish/inbox/video/init/",
    "photo": "POST /v2/post/publish/content/init/",
    "status": "POST /v2/post/publish/status/fetch/",
    "cancel": "POST /v2/post/publish/cancel/"
  },
  "per_token_requests_per_minute": {
    "creator_info": 20,
    "video_direct_post": 6,
    "video_upload_inbox": 6,
    "photo": 6,
    "status": 30
  },
  "unaudited_client": {
    "max_users_posting_per_24h": 5,
    "allowed_privacy_level": "SELF_ONLY",
    "account_must_be_private": true,
    "source": "content_sharing_guidelines"
  },
  "caps_for_every_client": {
    "posts_per_creator_per_24h_typical": 15,
    "posts_cap_note": "The upper limit may vary among creators (typically around 15 posts per day per creator account) and is shared across all API clients using Direct Post.",
    "pending_inbox_uploads_per_24h": 5,
    "active_creator_cap": "Set per client from the usage estimates in the audit application form."
  },
  "privacy_levels": {
    "public_account": [
      "PUBLIC_TO_EVERYONE",
      "MUTUAL_FOLLOW_FRIENDS",
      "SELF_ONLY"
    ],
    "private_account": [
      "FOLLOWER_OF_CREATOR",
      "MUTUAL_FOLLOW_FRIENDS",
      "SELF_ONLY"
    ]
  },
  "text_limits_utf16": {
    "video_title": 2200,
    "photo_title": 90,
    "photo_description": 4000
  },
  "video": {
    "containers": [
      "mp4",
      "webm",
      "mov"
    ],
    "content_types": {
      "mp4": "video/mp4",
      "mov": "video/quicktime",
      "webm": "video/webm"
    },
    "codecs": [
      "h264",
      "h265",
      "vp8",
      "vp9"
    ],
    "fps_min": 23,
    "fps_max": 60,
    "side_min_px": 360,
    "side_max_px": 4096,
    "max_bytes": 4294967296,
    "max_bytes_note": "TikTok says 'Maximum of 4GB'. We read it as 4 GiB (4,294,967,296 bytes).",
    "max_duration_sec_api": 600,
    "duration_note": "All creators can post 3-minute videos, some 5 or 10. Use max_video_post_duration_sec from creator_info for each creator."
  },
  "photo": {
    "formats": [
      "jpeg",
      "webp"
    ],
    "max_images": 35,
    "max_bytes_each": 20971520,
    "max_bytes_note": "TikTok says 'Maximum of 20MB for each image'. We read it as 20 MiB.",
    "max_resolution": "1080p",
    "max_resolution_note": "TikTok does not define 1080p for photos. The checker flags images larger than 1920 x 1080 (either orientation) for review, not as an error.",
    "source": "PULL_FROM_URL only"
  },
  "chunks": {
    "min_bytes": 5242880,
    "max_bytes": 67108864,
    "final_chunk_max_bytes": 134217728,
    "min_count": 1,
    "max_count": 1000,
    "count_rule": "total_chunk_count = floor(video_size / chunk_size)",
    "whole_upload_below_bytes": 5242880,
    "multi_chunk_above_bytes": 67108864,
    "note": "TikTok writes 5 MB, 64 MB and 128 MB. Its whole-upload example calls 4,194,304 bytes '4 MB', so the checker reads MB as MiB (1,048,576 bytes)."
  },
  "pull_from_url": {
    "https_only": true,
    "no_redirects": true,
    "no_ip_hosts": true,
    "download_timeout_hours": 1,
    "ingress_mbps": 100
  },
  "upload_url_valid_hours": 1,
  "tokens": {
    "access_token_hours": 2,
    "refresh_token_days": 180,
    "refresh_rotates": true,
    "note": "The App Review FAQ still says user access tokens can be extended to a maximum of one year."
  },
  "app_review": {
    "takes": "several days to two weeks",
    "demo_videos_max": 5,
    "demo_video_max_mb": 50,
    "sandbox_required_for_first_review": true,
    "sandboxes_max": 5,
    "sandbox_target_users_max": 10,
    "sandbox_no_public_posting": true
  },
  "export_screen_must": {
    "shows_creator_nickname": "1a: display the creator's nickname",
    "stops_when_creator_cannot_post": "1b: stop and ask to try later when creator_info says the creator cannot post",
    "checks_max_duration": "1c: check max_video_post_duration_sec",
    "title_editable": "2a / 5b: the user enters or edits the title and any preset text",
    "privacy_dropdown_from_creator_info": "2b: options from privacy_level_options",
    "privacy_no_default": "2b: no default value, the user selects it manually",
    "interactions_off_by_default": "2c: none checked by default",
    "interactions_greyed_when_disabled": "2c: disabled and greyed out when creator_info says so",
    "music_confirmation_declaration": "2 NOTE: 'By posting, you agree to TikTok's Music Usage Confirmation'",
    "commercial_disclosure_toggle": "3a: Content Disclosure Setting, off by default, with Your brand and Branded content",
    "no_watermark": "5b and Watermark Guidelines: no brand, logo, watermark, link or promotional text on the content",
    "uploads_after_consent": "5c: send content only after the user expressly consents",
    "processing_notice": "5d: tell users it may take a few minutes to appear on their profile"
  },
  "export_screen_should": {
    "content_preview": "5a: display a preview of the content",
    "status_updates": "5e: poll status/fetch or handle webhooks"
  },
  "commercial_labels": {
    "your_brand": "Your photo/video will be labeled as 'Promotional content'",
    "branded_content": "Your photo/video will be labeled as 'Paid partnership'",
    "both": "Your photo/video will be labeled as 'Paid partnership'",
    "declaration_music": "By posting, you agree to TikTok's Music Usage Confirmation.",
    "declaration_branded": "By posting, you agree to TikTok's Branded Content Policy and Music Usage Confirmation."
  },
  "error_codes": {
    "spam_risk_too_many_posts": "stop: daily post cap reached for this creator, try later or post from the TikTok app",
    "spam_risk_too_many_pending_share": "stop: 5 pending inbox uploads in 24 hours",
    "spam_risk_user_banned_from_posting": "stop: do not retry",
    "reached_active_user_cap": "stop: your client reached its daily active publishing users",
    "unaudited_client_can_only_post_to_private_accounts": "fix: the creator account must be private until you pass the audit",
    "privacy_level_option_mismatch": "fix: privacy_level must be one of privacy_level_options",
    "url_ownership_unverified": "fix: verify the domain or URL prefix in your app",
    "access_token_invalid": "refresh the token or ask the user to reconnect",
    "scope_not_authorized": "ask the user to reconnect and grant the scope",
    "rate_limit_exceeded": "retry later with backoff",
    "internal": "retry",
    "video_pull_failed": "check the URL, then retry",
    "photo_pull_failed": "check the URL, then retry",
    "auth_removed": "stop: do not retry",
    "spam_risk_text": "stop: do not retry",
    "spam_risk": "stop: do not retry"
  },
  "upload_tip": "Send chunks as raw bytes. TikTok's curl examples use --data '@file', which strips line breaks and corrupts binary files; use --data-binary (tested on 29 November 2026 with curl 8.5.0).",
  "post_ids_note": "publicaly_available_post_id holds int64 values: parse them as strings in JavaScript."
}
