# TikTok options

What a post to TikTok takes, read from the same code the Postaki composer uses, so the API and the app agree. The live values of a connected channel (including shared allowances left today) are in `GET /brands/{id}/channels` and `GET /channels/{id}/options`; use [`POST /posts/validate`](https://postaki.io/docs/api-reference/) to check a post before you create it. Every post also needs `ai_generated`, which sets the platform's AI label.

`privacy_level` is required and has no default. Only a level the account offers is accepted: read the account's own list at `GET /channels/{id}/options` (`creator_info`) right before you post. Until TikTok has approved Postaki, posts go out as `SELF_ONLY` (Only me). `branded` is refused until then. When you set `own_brand` or `branded`, set `disclose` to true as well.

Platform value: `tiktok`.

## Formats

`carousel`, `image`, `short`, `video`

## Media

| Kind | Rule | Value |
|---|---|---|
| image | Largest width (px) | 1080 |
| image | Largest height (px) | 1920 |
| image | Largest file | 20 MB |
| image | Image format | jpeg |
| video | Largest width (px) | 1920 |
| video | Largest height (px) | 1920 |
| video | Largest file | 1024 MB |
| video | Longest video (seconds) | 600 |
| video | Highest frame rate | 60 |
| video | Highest bit rate (kbit/s) | 25000 |

## Limits

| Limit | Value |
|---|---|
| `text_max` | 4000 |
| `files_max` | 10 |
| `caption_max` | 2200 |
| `description_max` | 4000 |
| `photo_title_max` | 90 |
| `photos_max` | 10 |
| `video_max_seconds` | 600 |

## Options

Send these in `options` of the channel's entry in `channels`.

| Option | Type | Required | Allowed values | Note |
|---|---|---|---|---|
| `own_description` | boolean | no |  | Send the description of this copy instead of the post text. |
| `description` | string | no |  | Text of this copy only. Needs own_description. |
| `privacy_level` | string | yes | `PUBLIC_TO_EVERYONE`, `MUTUAL_FOLLOW_FRIENDS`, `FOLLOWER_OF_CREATOR`, `SELF_ONLY` | No default. The account's own list is narrower: read it at GET /channels/{id}/options. |
| `allow_comment` | boolean | no |  |  |
| `allow_duet` | boolean | no |  | Videos only. |
| `allow_stitch` | boolean | no |  | Videos only. |
| `disclose` | boolean | no |  | Must be true for own_brand or branded to count. |
| `own_brand` | boolean | no |  |  |
| `branded` | boolean | no |  | Not before TikTok's audit. |
| `photo_title` | string | no |  | Photo posts only. |
| `synthetic` | boolean | no |  | Set by ai_generated. |

## Example

```json
{
  "channels": [
    {
      "channel_id": 123,
      "options": {
        "privacy_level": "SELF_ONLY"
      }
    }
  ]
}
```
