misc

Get the posting options of a TikTok account

Changed on

Returns the privacy levels, interaction settings (comments, duet, stitch) and maximum video duration the connected TikTok account allows, read live from TikTok. A value the account does not allow is not rejected when you create the post, it fails at publish time with TT:40002. Use it to build the options of your own composer, not as a check before every publish: each call counts against the account's TikTok rate limit.

get/api/v1/misc/tiktok/post-settings

Request

  • Base URL
    https://api.bundle.social
  • URL
    https://api.bundle.social/api/v1/misc/tiktok/post-settings
  • Auth
    API key in header x-api-key

Query parameters

teamIdstring required

Response

200

privacyLevelOptionsstring[] required

Values the account accepts for privacy. Public accounts: PUBLIC_TO_EVERYONE, MUTUAL_FOLLOW_FRIENDS, SELF_ONLY. Private accounts: FOLLOWER_OF_CREATOR, MUTUAL_FOLLOW_FRIENDS, SELF_ONLY.

commentDisabledboolean required

If true, comments can't be enabled (the creator allows comments from no one), so send disableComments: true.

duetDisabledboolean required

If true, duets can't be enabled (duets set to "Only you", or a private account), so send disableDuet: true.

stitchDisabledboolean required

If true, stitches can't be enabled (stitches set to "Only you", or a private account), so send disableStitch: true.

maxVideoPostDurationSecnumber nullable

Longest video, in seconds, this account can publish. Longer videos fail at publish time.

Changes