Platform Integration

Get TikTok publishing settings

What the connected TikTok account is allowed to publish. TikTok narrows the four privacy_level values per account — a private account has no PUBLIC_TO_EVERYONE — and asking for one the account does not have fails the upload with error_code: "tiktok_privacy_unavailable". Read privacy_level_options and offer only those. This matters most on photo posts, where TikTok requires a privacy level and Upload-Post defaults to PUBLIC_TO_EVERYONE.

get/uploadposts/tiktok/settings

Query parameters

profilestring required

Profile username. Must have a TikTok account connected.

Response

Account publishing settings.

successboolean
privacy_level_optionsstring[]

The privacy levels THIS account may publish with.

max_video_post_duration_secinteger

Longest video the account can publish, in seconds.

comment_disabledboolean

True when the account has comments turned off account-wide.

duet_disabledboolean
stitch_disabledboolean

Example response

{
  "success": true,
  "privacy_level_options": [
    "FOLLOWER_OF_CREATOR",
    "MUTUAL_FOLLOW_FRIENDS",
    "SELF_ONLY"
  ],
  "max_video_post_duration_sec": 600
}

Changes