> ## Documentation Index
> Fetch the complete documentation index at: https://docs.postinger.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Platform rules

> What each platform accepts, and the options each target takes.

Postinger checks every target against its platform's rules before it schedules a post, so a post doesn't fail at publishing time over something that could have been caught. A failed check is a `400` naming the field, such as `targets[0].options.title`.

Options go in each target's `options`. Leave a field out to use its default.

> [tab] Instagram
>
> * Captions are at most **2,200** characters. A feed post needs one; a story doesn't.
> * **1 to 10** attachments: images or one video. A single video in the feed goes out as a Reel.
> * **JPEG images only**. In the feed, between 4:5 portrait and 1.91:1 landscape.
> * A story takes exactly one attachment.
>
> | Option | Values | Default |
> | - | - | - |
> | `format` | `feed`, `story` | `feed` |
> | `shareToFeed` | Whether a Reel also appears in the profile grid. | `true` |

> [tab] Facebook
>
> * Needs text, a link or an attachment. Text is at most **63,206** characters.
> * Up to **10** attachments: images or one video.
> * A reel needs exactly one video. A story takes exactly one attachment and no link.
>
> | Option | Values | Default |
> | - | - | - |
> | `format` | `feed`, `reel`, `story` | `feed` |
> | `link` | A full `https://` address, shown as a preview. | none |

> [tab] TikTok
>
> * Exactly **one video**, at most **10 minutes** long.
> * The caption is at most **2,200** characters.
> * Posting directly needs a visibility. Branded content can't be private.
>
> | Option | Values | Default |
> | - | - | - |
> | `mode` | `inbox` (finish in the TikTok app), `direct` (post to the profile) | `inbox` |
> | `privacy` | `PUBLIC_TO_EVERYONE`, `MUTUAL_FOLLOW_FRIENDS`, `FOLLOWER_OF_CREATOR`, `SELF_ONLY` | required for `direct` |
> | `allowComment`, `allowDuet`, `allowStitch` | `true` / `false` | `false` |
> | `disclose` | The video promotes a brand. Needs `brandContent` or `brandOrganic`. | `false` |
> | `brandContent` | Someone else's brand (a paid partnership). | `false` |
> | `brandOrganic` | Your own brand. | `false` |
> | `isAigc` | Label as AI-generated. | `false` |
>
> Which visibilities a creator may use comes from TikTok.

> [tab] YouTube
>
> Posts go out as **Shorts**. The target's content is the description.
>
> * Exactly **one video**, square or vertical, at most **3 minutes** long.
> * A title is required, at most **100** characters.
> * The description is at most **5,000** characters.
> * Up to **30** tags, each at most 100 characters, 500 in total.
>
> | Option | Values | Default |
> | - | - | - |
> | `title` | The Short's title. | required |
> | `privacy` | `private`, `unlisted`, `public` | `private` |
> | `madeForKids` | `true` / `false`. YouTube requires it on every upload. | required |
> | `tags` | A list of strings. | none |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.