# Platforms

Source: https://ampost.io/docs/platforms · Full reference: https://ampost.io/llms-full.txt

## Platforms

Platform differences are data. Call `GET /api/platforms` (MCP `platforms_list`) for each platform's limits, media rules, placements by media shape and the JSON Schema of its `options`. Summary:

| Platform | Key | Max text | Media required | Media | Link | Placements | Required media fields | Pixel rules | Options |
|---|---|---:|---|---|---|---|---|---|---|
| Instagram | `instagram` | 2200 | yes | image, video (max 10) | ignored | feed, story, reel, carousel | – | – | text, firstComment, placement, collaborators, userTags, coverUrl, thumbOffset, shareToFeed |
| Facebook | `facebook` | 63206 | no | image, video (max 10) | yes | feed, story, reel | – | video (reel) 9:16 | text, firstComment, placement |
| LinkedIn | `linkedin` | 3000 | no | image, video (max 20) | yes | – | – | – | text, firstComment, visibility, isReshareDisabledByAuthor, articleTitle, articleDescription, videoTitle |
| TikTok | `tiktok` | 2200 | yes | image, video (max 35) | ignored | – | image.width, image.height, video.width, video.height, video.durationSeconds | – | text, privacyLevel, consent, disableComment, disableDuet, disableStitch, videoCoverTimestampMs, photoCoverIndex, autoAddMusic, brandContentToggle, brandOrganicToggle, isAigc, inboxDraft |
| Threads | `threads` | 500 | no | image, video (max 20) | yes | – | – | – | text, firstComment, thread |
| X | `twitter` | 280 | no | image, video (max 4) | yes | – | – | – | text, firstComment, thread |
| Discord | `discord` | 2000 | no | image, video (max 10) | yes | – | – | – | text, embeds, username, avatarUrl, threadName, poll |
| Telegram | `telegram` | 4096 | no | image, video (max 10) | yes | – | – | – | text, parseMode, disableNotification, protectContent, disableLinkPreview, sendAsDocument |
| Bluesky | `bluesky` | 300 | no | image, video (max 4) | yes | – | – | – | text, firstComment, thread |
| YouTube | `youtube` | 5000 | yes | video (max 1) | yes | – | – | – | text, firstComment, title, privacyStatus, madeForKids, tags, categoryId, playlistId, notifySubscribers, containsSyntheticMedia |
| Pinterest | `pinterest` | 800 | yes | image, video (max 5) | yes | – | – | – | text, boardId, title |

### Instagram

- To post to Instagram, name `instagram` in `targets[].platforms`; its settings go in `options.instagram`.
- Text up to 2200 characters. Links: `linkUrl` ignored. Scheduling: yes.
- First comment: up to 2200 characters.
- Thread: not supported.
- Alt text (`media[].altText`): up to 1000 characters on images in feed and carousel posts.
- Media: required; image and video, up to 10 items.
- Placements: `feed`, `story`, `reel`, `carousel` (`options.instagram.placement`).
- Media sent as is within: image jpeg, ≤ 8 MB, ≤ 1440 px, 4:5 to 1.91:1; video h264/hevc, ≤ 100 MB, ≤ 1920 px, 23-60 fps, ≤ 25 Mbps, 9:16, 3-900 s; reel: video h264/hevc, ≤ 100 MB, ≤ 1920 px, 23-60 fps, ≤ 25 Mbps, 9:16, 3-900 s; story: image jpeg, ≤ 8 MB, ≤ 1920 px, 9:16; video h264/hevc, ≤ 100 MB, ≤ 1920 px, 23-60 fps, ≤ 25 Mbps, 9:16, 3-60 s.
- Options: `text`, `firstComment`, `placement`, `collaborators`, `userTags`, `coverUrl`, `thumbOffset`, `shareToFeed`.
- Instagram needs an image or a video. `options.instagram`: `collaborators` (up to 3 usernames without @; feed posts, carousels and reels, not stories; each must accept the invite before the post shows on their profile), `userTags` (`[{ "username", "x", "y", "mediaIndex" }]`: x and y from 0 to 1 from the top left are required on images and left out on reels, optional on stories; `mediaIndex` picks the carousel item, default 0; up to 20 per item), and for reels `coverUrl` (a public https JPEG) or `thumbOffset` (the cover frame in milliseconds), and `shareToFeed` (default true; false keeps the reel in the Reels tab only). An option that does not fit the placement fails with `VALIDATION_FAILED` (`details.field` names it). A username Instagram cannot tag fails the account with Instagram's error. Location tags are not supported yet.

### Facebook

- To post to Facebook, name `facebook` in `targets[].platforms`; its settings go in `options.facebook`.
- Text up to 63206 characters. Links: `linkUrl` supported. Scheduling: yes.
- First comment: up to 8000 characters.
- Thread: not supported.
- Alt text (`media[].altText`): up to 1000 characters on images in feed posts.
- Media: optional; image and video, up to 10 items, not mixed.
- Placements: `feed`, `story`, `reel` (`options.facebook.placement`).
- Pixel rules: video (reel) 9:16.
- Media sent as is within: image jpeg/png, ≤ 4 MB, ≤ 4096 px; video h264/hevc, ≤ 4096 px, 1-60 fps, ≤ 25 Mbps; story: image jpeg/png, ≤ 4 MB, ≤ 1920 px, 9:16; video h264/hevc, ≤ 1920 px, 23-60 fps, ≤ 25 Mbps, 9:16, 3-60 s; reel: video h264/hevc, ≤ 1920 px, short side ≥ 540 px, 24-60 fps, ≤ 25 Mbps, 9:16.
- Options: `text`, `firstComment`, `placement`.
- Facebook reels need one video between 4 and 60 seconds; Ampost fits it to 9:16 unless `mediaFit` is `none`.

### LinkedIn

- To post to LinkedIn, name `linkedin` in `targets[].platforms`; its settings go in `options.linkedin`.
- Text up to 3000 characters. Links: `linkUrl` supported. Scheduling: yes.
- First comment: up to 1250 characters.
- Thread: not supported.
- Alt text (`media[].altText`): up to 4086 characters on images.
- Media: optional; image and video, up to 20 items, not mixed.
- Media sent as is within: image jpeg/png, ≤ 6000 px; video h264, ≤ 500 MB, ≤ 4096 px, 10-60 fps, 1:2.4 to 2.4:1, 3-1800 s.
- Options: `text`, `firstComment`, `visibility`, `isReshareDisabledByAuthor`, `articleTitle`, `articleDescription`, `videoTitle`.
- LinkedIn is coming soon (`availability: coming_soon` in `GET /api/platforms`): it is listed, but for accounts it is not open to yet, connecting it, posting to it and reading its posts or analytics answer 403 `PLATFORM_COMING_SOON`; tell the user it is not available yet. LinkedIn is member-profile publishing only: no organization or Page posting or analytics. The first comment is posted as the member.

### TikTok

- To post to TikTok, name `tiktok` in `targets[].platforms`; its settings go in `options.tiktok`.
- Text up to 2200 characters. Links: `linkUrl` ignored. Scheduling: yes.
- First comment: not supported.
- Thread: not supported.
- Alt text (`media[].altText`): not supported (ignored with a warning).
- Media: required; image and video, up to 35 items, not mixed. Required fields: `image.width`, `image.height`, `video.width`, `video.height`, `video.durationSeconds`.
- Media sent as is within: image jpeg/webp, ≤ 20 MB, ≤ 1080 px; video h264/hevc/vp8/vp9, ≤ 4 GB, ≤ 4096 px, short side ≥ 360 px, 23-60 fps, 9:16, 3-600 s.
- Options: `text`, `privacyLevel`, `consent`, `disableComment`, `disableDuet`, `disableStitch`, `videoCoverTimestampMs`, `photoCoverIndex`, `autoAddMusic`, `brandContentToggle`, `brandOrganicToggle`, `isAigc`, `inboxDraft`.
- TikTok is coming soon (`availability: coming_soon` in `GET /api/platforms`) until TikTok approves Ampost's Direct Post audit: for accounts it is not open to yet, connecting it, posting to it and reading its posts or analytics answer 403 `PLATFORM_COMING_SOON`; tell the user it is not available yet. TikTok's Direct Post rules apply to every post: `options.tiktok.privacyLevel` is required and must be chosen by the user from the creator's allowed levels (the TikTok account's `platformMetadata.privacyLevelOptions`; Ampost sets no default), and `options.tiktok.consent: true` is required: show the user "By posting, you agree to TikTok's Music Usage Confirmation" (plus its Branded Content Policy with `brandContentToggle`) and set it only when they confirm. Without either, posts_validate and posts_create fail with `VALIDATION_FAILED` (`details.field` names the option). Comments, Duet and Stitch are off unless the user turns them on (`disableComment`/`disableDuet`/`disableStitch: false`). Commercial content disclosure: `brandContentToggle` (a third party's brand, "Paid partnership"; never with `SELF_ONLY`) and `brandOrganicToggle` (the creator's own business); leave both out when the post promotes nothing. Private-only is a normal state while a TikTok app is in review. `options.tiktok.inboxDraft: true` sends the media to the creator's TikTok inbox as a draft instead (they post it from the TikTok app; a video draft carries no caption).

### Threads

- To post to Threads, name `threads` in `targets[].platforms`; its settings go in `options.threads`.
- Text up to 500 characters. Links: `linkUrl` supported. Scheduling: yes.
- First comment: up to 500 characters.
- Thread: up to 25 items after the post.
- Alt text (`media[].altText`): up to 1000 characters on images and videos.
- Media: optional; image and video, up to 20 items.
- Media sent as is within: image jpeg/png, ≤ 8 MB, ≤ 1440 px, 1:10 to 10:1; video h264/hevc, ≤ 1 GB, ≤ 1920 px, 23-60 fps, ≤ 100 Mbps, 1:10 to 10:1, 0-300 s.
- Options: `text`, `firstComment`, `thread`.

### X

- To post to X, name `twitter` in `targets[].platforms`; its settings go in `options.twitter`.
- Text up to 280 characters. Links: `linkUrl` supported. Scheduling: yes.
- First comment: up to 280 characters.
- Thread: up to 25 items after the post.
- Alt text (`media[].altText`): up to 1000 characters on images.
- Media: optional; image and video, up to 4 items, not mixed.
- Media sent as is within: image jpeg/png/webp, ≤ 5 MB, ≤ 4096 px; video h264, ≤ 512 MB, ≤ 1900 px, 1-60 fps, ≤ 25 Mbps, 1:3 to 3:1, 0.5-140 s.
- Options: `text`, `firstComment`, `thread`.
- X (`twitter`) is on every plan: Free has 10 X units every 30 days and 2 X posts an hour once the user's email is confirmed (before that, connecting and posting to X fail with `UPGRADE_REQUIRED`), and Pro has 200 units and 10 posts an hour. A post with a link costs more units than Free has. Each X post uses units of an X allowance that resets every 30 days: 1 for a post, 13 for a post with a link (bare domains count), plus 1 per image or video; there is also an hourly X post limit. When the allowance is used up, X posts fail with `QUOTA_EXCEEDED` until it resets; other platforms are unaffected. X counts every link as 23 characters.

### Discord

- To post to Discord, name `discord` in `targets[].platforms`; its settings go in `options.discord`.
- Text up to 2000 characters. Links: `linkUrl` supported. Scheduling: yes.
- First comment: not supported.
- Thread: not supported.
- Alt text (`media[].altText`): up to 1024 characters on images and videos.
- Media: optional; image and video, up to 10 items.
- Media sent as is within: image jpeg/png/webp, ≤ 10 MB; video h264/vp8/vp9, ≤ 10 MB.
- Options: `text`, `embeds`, `username`, `avatarUrl`, `threadName`, `poll`.
- Discord posts to one channel through a webhook: text up to 2000 characters and up to 10 attachments of 10 MB each. Mentions in the text never ping anyone. `options.discord`: `embeds` (up to 10, each with `title` 256, `description` 4096, `url`, `color` as an integer or `#RRGGBB`, `imageUrl` (https; Discord fetches it), and up to 25 `fields` of `name` 256, `value` 1024, `inline`; all embeds together at most 6000 characters), `username` (80, no "clyde" or "discord") and `avatarUrl` (https) to post under another name and picture, `threadName` (100) to start a post in a forum or media channel (required there, refused elsewhere), and `poll` (`question` 300, 2-10 `answers` of 55, `durationHours` 1-768, default 24, `allowMultiselect`). Edits change only the text: embeds and polls stay, and polls cannot be edited.

### Telegram

- To post to Telegram, name `telegram` in `targets[].platforms`; its settings go in `options.telegram`.
- Text up to 4096 characters. Links: `linkUrl` supported. Scheduling: yes.
- First comment: not supported.
- Thread: not supported.
- Alt text (`media[].altText`): not supported (ignored with a warning).
- Media: optional; image and video, up to 10 items.
- Media sent as is within: image jpeg/png, ≤ 10 MB, ≤ 5000 px, 1:20 to 20:1; video h264, ≤ 50 MB.
- Options: `text`, `parseMode`, `disableNotification`, `protectContent`, `disableLinkPreview`, `sendAsDocument`.
- Telegram posts as the user's own bot in a channel or group. Text up to 4096 characters (markup included); with media the caption holds 1024, and longer text follows the media as a second message. Up to 10 photos or videos as an album. `options.telegram`: `parseMode` (`MarkdownV2` or `HTML`; omit it for plain text) formats the text. In MarkdownV2 write `\` before each `_*[]()~`>#+-=|{}.!` that is not formatting; in HTML write `&lt;`, `&gt;`, `&amp;` for literal characters and use only Telegram's tags (`b`, `i`, `u`, `s`, `a href`, `code`, `pre`, `blockquote`, `tg-spoiler`, ...). Ampost escapes `linkUrl` itself and refuses text it can tell Telegram cannot parse (`VALIDATION_FAILED`, `details.field` `text`, naming the character). `disableNotification` sends silently, `protectContent` blocks forwarding and saving, `disableLinkPreview` drops the link preview of a text message, and `sendAsDocument` sends the media as files (several as one album of files) so Telegram does not recompress them; Ampost still converts media to Telegram's photo and video limits first. Edits keep `parseMode`.

### Bluesky

- To post to Bluesky, name `bluesky` in `targets[].platforms`; its settings go in `options.bluesky`.
- Text up to 300 characters. Links: `linkUrl` supported. Scheduling: yes.
- First comment: up to 300 characters.
- Thread: up to 25 items after the post.
- Alt text (`media[].altText`): up to 2000 characters on images and videos.
- Media: optional; image and video, up to 4 items, not mixed.
- Media sent as is within: image jpeg/png/webp, ≤ 1000 KB, ≤ 2000 px; video h264/hevc, ≤ 286 MB, 0-600 s.
- Options: `text`, `firstComment`, `thread`.
- Bluesky turns `linkUrl` into a link card (with images or a video, the link goes into the text instead). Text is limited to 300 characters; links, #tags and @handles become clickable. Up to 4 images (each under 1 MB), or one video (up to 10 minutes and 300 MB, no images with it) with alt text. Videos go through Bluesky's video service: the account's email must be verified, and Bluesky allows 25 videos or 10 GB per account a day. A video still processing leaves the account `processing` until Bluesky is done; then the post is created. Over the daily allowance the account fails with `QUOTA_EXCEEDED` and Ampost tries again a few hours later; a video Bluesky cannot process fails with `VIDEO_PROCESSING_FAILED`.

### YouTube

- To post to YouTube, name `youtube` in `targets[].platforms`; its settings go in `options.youtube`.
- Text up to 5000 characters. Links: `linkUrl` supported. Scheduling: yes.
- First comment: up to 10000 characters.
- Thread: not supported.
- Alt text (`media[].altText`): not supported (ignored with a warning).
- Media: required; video, up to 1 items, not mixed.
- Media sent as is within: video h264/hevc/vp8/vp9/av1/mpeg4/prores.
- Options: `text`, `firstComment`, `title`, `privacyStatus`, `madeForKids`, `tags`, `categoryId`, `playlistId`, `notifySubscribers`, `containsSyntheticMedia`.
- YouTube takes exactly one video per post. YouTube picks the format from the file, with no option for it: a vertical or square video up to 3 minutes becomes a Short, and a horizontal (16:9) video is a regular video at any length. The text plus `linkUrl` is the description (5,000 bytes, no `<` or `>`); `options.youtube.title` is the title (100 characters; without it the text's first line is used). `options.youtube.madeForKids` (true or false) is required. Optional: `privacyStatus` (`public`, `unlisted`, `private`; default `public`), `tags`, `categoryId`, `playlistId`, `notifySubscribers`, `containsSyntheticMedia`, and a custom thumbnail from `media[0].thumbnailUrl` (verified channels only). A refused thumbnail or playlist add leaves the video up and shows in `platformPosts[].warnings`. If YouTube makes an upload private that was not asked to be, that is a warning too. YouTube processes the video after the upload, so the account stays `processing` until it is ready. Uploads share one Google quota across Ampost: when it runs out, the account waits with `RATE_LIMITED` until midnight Pacific Time.

### Pinterest

- To post to Pinterest, name `pinterest` in `targets[].platforms`; its settings go in `options.pinterest`.
- Text up to 800 characters. Links: `linkUrl` supported. Scheduling: yes.
- First comment: not supported.
- Thread: not supported.
- Alt text (`media[].altText`): up to 500 characters on images and videos, the first media item's only (one per post).
- Media: required; image and video, up to 5 items, not mixed.
- Media sent as is within: image jpeg/png/webp, ≤ 20 MB, carousel images fitted to the first one's ratio; video h264/hevc, 1:2 to 1.91:1, 4-900 s.
- Options: `text`, `boardId`, `title`.
- Pinterest needs an image or a video: one image, a carousel of 2-5 images, or one video. A carousel's images must share one ratio: Ampost pads or crops the later images to the first one's (`mediaFit`), and with `mediaFit: none` validation refuses the others. The text is the Pin description (800 characters), `options.pinterest.title` the title (100), `linkUrl` the Pin's link and the first media item's `altText` the Pin's alt text (500). A Pin goes to the account's default board (`platformMetadata.boardId`), or to `options.pinterest.boardId`; list boards with accounts_list_boards and pick the default with accounts_set_board. Without either, the post fails; posts_validate refuses a `boardId` the account cannot pin to. A video Pin stays `processing` until Pinterest has processed the video. Pinterest has no first comment.
