Content & attachments
Used by finalization and delivery-edit requests. These are PostRivet limits, even when a platform accepts more.
| Parameter | Details |
|---|---|
textcontent · string · required | Shared caption, validated for each destination after applying platformText. Limits: Bluesky 300 graphemes/3,000 UTF-8 bytes; X 280 weighted characters for standard accounts or 25,000 for confirmed subscribers (conservative counting); Instagram 2,200 characters; Facebook 63,206 characters (PostRivet cap); Threads 500 characters with byte-counted emoji; YouTube description 5,000 UTF-8 bytes; TikTok video caption 2,200 UTF-16 units or photo description 4,000 (separate photo title 90). Explicit YouTube description/TikTok video title take precedence. Empty requires media or an override for every selected platform. |
platformTextcontent · object · optional | Caption overrides keyed by bluesky, x, instagram, facebook, threads, tiktok or youtube. Values are strings, with the same caption limits. Missing keys use text. Applies to all selected accounts on that platform. Final post reads return the resolved caption as content.text. |
attachmentscontent · object[] · optional | Up to twenty images for Threads, ten for Instagram, Facebook and Bluesky, four for X and TikTok, or one video. Omit or send [] for text only. |
idattachment · UUID · required | An available upload owned by you. |
orderattachment · integer · required | Consecutive zero-based order values: 0, 1, 2, 3. |
kindattachment · string · required | image or video; must match the uploaded file. |
altTextattachment · string · optional | Up to 2,000 characters; X permits at most 1,000. |
width / heightattachment · integers · optional | Provide both or neither, each between 1 and 100,000. |
platformOptionscontent · object · optional | Per-provider options below; required for YouTube and TikTok. |
First prepare a schedule, then upload images/video with its preparationId and finalize using the completed upload IDs. Attachments must belong to that preparation. A post may contain 1–20 distinct images for Threads, up to ten for Instagram, Facebook and Bluesky (up to four for X and TikTok) or one video; mixing kinds is not supported. Text must be present as a string; use an empty string when only media is needed.