# Hermoso: TikTok Content Posting API: Direct Post Audit and Errors

> Machine-readable twin of https://hermoso.ai/guides/tiktok-content-posting-api-approval/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

# TikTok Content Posting API: the audit, creator_info and error codes

The Content Posting API lets your app publish to a creator's TikTok. Until your client passes TikTok's audit, everything you post is private. Here is how the pieces fit and what each error means.

The Content Posting API lets an app publish videos and photos to a creator's TikTok account on their behalf. It is straightforward to call and easy to get stuck on, because the real gate is not the code. It is the audit that decides whether your posts can ever be public.

## Direct Post vs upload to inbox

There are two ways to hand content to TikTok.

- **Direct Post** publishes straight to the creator's profile. You enable the Direct Post configuration for the Content Posting API in your app settings, and your app must be approved for the `video.publish` scope, with the creator having granted it. Videos start at `/v2/post/publish/video/init/`. Photos use `/v2/post/publish/content/init/` with `post_mode` set to `DIRECT_POST`.
- **Upload to inbox (draft)** sends the content to the creator's TikTok inbox, where they finish and publish it themselves in the TikTok app. Photo drafts use the same `content/init` endpoint, and video drafts use `/v2/post/publish/inbox/video/init/`.

Inbox uploads are the lower-friction route: the creator reviews the post in TikTok and chooses the privacy and interaction settings there. Direct Post gives a real publish, but only after the audit.

## The audit, and what unaudited clients get

TikTok's documentation says your client must undergo an audit to verify compliance with its Terms of Service before content visibility restrictions are lifted. The rule for everyone else is blunt: **all content posted by unaudited clients is restricted to private viewing mode.**

The audit is separate from getting your app approved or live. An app can be approved, live in production and still unaudited. The giveaway is the creator_info response (below): an unaudited app is only offered `SELF_ONLY`. An audited app is offered the creator's real options, including `PUBLIC_TO_EVERYONE`.

Applications are reviewed against TikTok's content sharing guidelines, and a build that ignores them gets rejected, then has to be rebuilt and resubmitted. The UX rules below are the part reviewers check.

## Query creator info before every post

TikTok says that before a direct post you must first call the Query Creator Info endpoint to get the target creator's latest information, and that you should fetch it when you render the Post to TikTok page, not from a cache. The response data contains:

Field Meaning

`creator_nickname` The creator's nickname. Show it so users know which account receives the post.

`privacy_level_options` Public accounts get `PUBLIC_TO_EVERYONE`, `MUTUAL_FOLLOW_FRIENDS` and `SELF_ONLY`. Private accounts get `FOLLOWER_OF_CREATOR`, `MUTUAL_FOLLOW_FRIENDS` and `SELF_ONLY`.

`comment_disabled` `true` if the creator set comments to No one.

`duet_disabled` `true` if the account is private or Duet is set to No one. Ignore for photo-only posts.

`stitch_disabled` `true` if the account is private or Stitch is set to No one. Ignore for photo-only posts.

`max_video_post_duration_sec` The longest video this creator can post, in seconds. Check your video against it before uploading.

## Error codes for the init endpoints

Success is `error.code` equal to `ok`. Anything else is a failure. From TikTok's Direct Post reference:

HTTP error.code Meaning

400 `invalid_param` A request parameter is invalid. Read the message.

403 `unaudited_client_can_only_post_to_private_accounts` An unaudited client can only publish to private accounts. Blocked at init.

403 `privacy_level_option_mismatch` `privacy_level` is missing or not one of the options returned by creator info.

403 `spam_risk_too_many_posts` The user reached the daily post cap for the API.

403 `spam_risk_user_banned_from_posting` The user is banned from creating new posts.

403 `reached_active_user_cap` Your client hit its daily quota of active publishing users.

403 `url_ownership_unverified` `PULL_FROM_URL` needs a verified URL prefix or domain.

401 `access_token_invalid` The access token is invalid or expired.

401 `scope_not_authorized` The token lacks the user's grant for `video.publish`.

429 `rate_limit_exceeded` You exceeded the API rate limit.

Two notes from experience. First, `unaudited_client_can_only_post_to_private_accounts` fires even when you ask for `SELF_ONLY`, so you cannot work around it by choosing the most private option on a Direct Post. Only inbox drafts get through for an unaudited client. Second, `spam_risk_too_many_posts` is per creator, so it is a reason to slow down, not a reason to retry in a loop.

## The UX requirements the audit checks

These come from TikTok's content sharing guidelines:

- Show the creator's nickname, and stop publishing if creator info says they cannot post right now.
- Privacy is a dropdown driven by `privacy_level_options` with **no default value**. The user must choose.
- Allow Comment, Duet and Stitch are unchecked by default. If the creator has disabled one in TikTok, grey out that checkbox. Photo posts show only Allow Comment.
- Commercial content disclosure is a toggle, off by default. When on, show Your brand and Branded content checkboxes; at least one must be ticked or the publish button is disabled. Your brand is labeled Promotional content, Branded content is labeled Paid partnership, and both together show Paid partnership.
- Branded content cannot be private. Either disable Only me when it is ticked, or switch to public and tell the user.
- Before the publish button, show the consent declaration: Music Usage Confirmation, plus the Branded Content Policy when branded content is selected.
- Show a preview, add no promotional watermark, let users edit preset text including the title and hashtags, and send nothing until the user has clearly consented.
- Tell users processing can take a few minutes, and poll the publish status endpoint (or use webhooks) so they can see progress.

## How Hermoso handles this for you

Hermoso's TikTok Direct Post audit is approved, so posts from a connected account can be public and are not forced to SELF_ONLY. Connect TikTok with a normal sign-in and you skip the audit entirely. Hermoso queries creator info for you, only offers the privacy options TikTok returned, checks video length against the creator's maximum, and turns error codes like `spam_risk_too_many_posts` and `privacy_level_option_mismatch` into a plain sentence instead of a raw failure. A post TikTok reports as failed is treated as failed, never as published.

Read more on the [TikTok channel page](https://hermoso.ai/channels/tiktok/), the [TikTok scheduler](https://hermoso.ai/tiktok-scheduler/) and [TikTok MCP](https://hermoso.ai/tiktok-mcp/). For other platforms' access hurdles see [X API pricing](https://hermoso.ai/guides/x-api-pricing/) and [YouTube API quota](https://hermoso.ai/guides/youtube-api-quota/).

## Sources

- https://developers.tiktok.com/doc/content-posting-api-get-started
- https://developers.tiktok.com/doc/content-posting-api-reference-direct-post
- https://developers.tiktok.com/doc/content-posting-api-reference-query-creator-info
- https://developers.tiktok.com/doc/content-sharing-guidelines

## Frequently asked questions

### What is the difference between Direct Post and upload to inbox?

Direct Post publishes straight to the creator's profile and needs the video.publish scope plus an audit to be public. Upload to inbox sends a draft to the creator's TikTok inbox, where they review and publish it themselves.

### Why can my app only post private videos?

TikTok restricts all content posted by unaudited clients to private viewing mode. Passing the audit lifts that restriction.

### What does unaudited_client_can_only_post_to_private_accounts mean?

Your client has not passed TikTok's audit, so the Direct Post request is blocked at init. Pass the audit, or send drafts to the inbox instead.

### What causes privacy_level_option_mismatch?

The privacy_level you sent is missing or is not one of the privacy_level_options returned by the creator info query. Always take the options from a fresh creator info call.

### What does spam_risk_too_many_posts mean?

The creator has reached the daily post cap for the API. Wait and try again later rather than retrying immediately.

### Do I need to call creator info before every post?

Yes. TikTok requires you to query the creator's latest information before a direct post, and to use it for privacy options, interaction toggles and maximum video length.

Skip the app reviews: connect your accounts free, no card.

[Start free →](https://app.hermoso.ai/?src=site-guides-tiktok-content-posting-api-approval&intent=create)

[See pricing](https://hermoso.ai/pricing)
