Skip to content

API reference

TikTok creator info

Fetch which audiences and interaction settings a TikTok account allows before posting to it.

TikTok requires you to choose an audience for every post, from the options that account allows. Read them here and pass one as tiktokOptions.privacyLevel when creating the post.

Get creator info

GET/v1/tiktok/accounts/{accountId}/creator-info

The account’s nickname, allowed audiences (privacyLevelOptions) and whether comments, Duet and Stitch are turned off in the TikTok app.

Auth
API key x-api-key
Rate limit
120/minute

If commentDisabled, duetDisabled or stitchDisabled is true, don’t set the matching disable… option to false. maxVideoPostDurationSec, when present, is the longest video the account may post.

Parameters

  • accountIdrequiredpath · string

    A TikTok account id.

Example request

curl "https://api.flenvio.com/v1/tiktok/accounts/acc1a000-0000-4000-8000-000000000003/creator-info" \
  -H "x-api-key: $FLENVIO_API_KEY"

Response 200

200 response
{
  "creatorNickname": "lumencoffee",
  "privacyLevelOptions": [
    "PUBLIC_TO_EVERYONE",
    "MUTUAL_FOLLOW_FRIENDS",
    "SELF_ONLY"
  ],
  "commentDisabled": false,
  "duetDisabled": false,
  "stitchDisabled": true,
  "maxVideoPostDurationSec": 600
}

Errors

Get creator info errors
StatusWhen
400Unknown or unauthorized account(s): …: not one of your accounts.
404TikTok account not found.: the account isn’t a TikTok account.
401Missing, invalid, revoked or expired API key.
429Too many requests to this endpoint; wait Retry-After seconds.
TikTok creator info API reference · Flenvio