Saves a post as a draft for LinkedIn, X, Facebook, Instagram, Threads and YouTube, or updates an existing unpublished post. Without id it creates a draft; without destinations or destination it goes to the personal LinkedIn profile. destinations sets every place it goes (ids from list_destinations, any mix, LinkedIn optional), and network_text gives a network its own version of the text, for example a shorter one for X. youtube sets a YouTube video’s title, privacy (public, unlisted or private), tags, category, made_for_kids, custom thumbnail and playlist, and youtube_format chooses a normal video or a Short; the YouTube text is the video description. instagram chooses an Instagram feed post, Story or Reel (and a trial Reel); facebook takes only format "feed" (PostPen cannot post Facebook Reels). With id it updates a draft or a scheduled post that has not been sent; the schedule time stays as it is and nothing is published. content is required to create; an update takes any of content, network_text, youtube, youtube_format, instagram, facebook, media, destinations, destination, mentions, first_comment, or auto_react. The result lists post.networks (each network with the text it publishes) and network_problems when a network cannot take the post yet (for example Instagram without an image); schedule_post and publish_now refuse the post until they are fixed. Network limits: LinkedIn 3,000 characters, up to 9 images, one video, or one PDF. X 280 characters, or 25,000 on an account with an X subscription (each destination’s max_chars says which; a link counts as 23, an emoji as 2), up to 4 images (a post with more sends X its first 4 and the rest to the other networks) or one video, and a GIF among X’s images must be alone. A longer X text goes out as a thread: up to 25 numbered posts ("1/3"), cut at paragraphs, sentences or words, each a reply to the one before, with the media on the first and the first comment under the last. Facebook (Pages only) 63,206 characters, up to 10 images or one video. Instagram needs an image or a video: up to 10 JPEG images or one video, 2,200 characters, at most 30 hashtags; instagram.format makes it a Story (one image or a 3 to 60 second video, Instagram only) or a Reel (one video, up to 15 minutes), optionally a trial Reel. Threads 500 characters with images or a video (up to 20 images or one video); a Threads post without media takes up to 10,000, and what does not fit in the first 500 goes out as a text attachment under the post, at most 5 links. YouTube takes exactly one video and nothing else: a title up to 100 characters (from the youtube settings, or the text’s first line), the text as its description up to 5,000 bytes, neither with < or >, and tags up to 500 characters. youtube_format chooses a normal video ("video", the default) or a Short ("short": vertical or square, up to 3 minutes; a landscape or longer clip is refused rather than posted as a normal video). Only LinkedIn takes PDFs. mentions and auto_react apply to LinkedIn only. Alt text goes with the images to every network (X, Facebook, Instagram and Threads take the first 1,000 characters). first_comment goes under the post on LinkedIn and X (a reply), and on Facebook, Instagram and Threads (a reply) once the account has been connected with permission to comment; not on YouTube. first_comment and auto_react are stored on the post and applied when it is published by schedule_post or publish_now. mentions tags LinkedIn company pages named in the text; people cannot be tagged. Tags from the user’s tag list (list_tags) are written @[Name] in content or network_text: each network then gets its own form (@handle on X, Instagram and Threads, the company tagged on LinkedIn, the plain name elsewhere), and a name not in the list comes back in unknown_tags and goes out as the plain name. The result includes preview_url, a link that opens the post in PostPen for the signed-in account owner; it is meant to be shown to the user whenever a draft is saved or a post is scheduled. destination selects the personal profile or a company page from list_destinations. media attaches images, a video, or a PDF. Each media item has exactly one source: { url } for a public HTTPS file, { upload_id } for a file sent through create_upload, or { data } for a small base64 file up to 4MB. PostPen checks each file and keeps it in its own storage (videos in its large-video storage where that is set up, as for videos uploaded in PostPen). An image item can carry alt_text, the image’s alternative text for screen readers on every network (up to 4,086 characters on LinkedIn and 1,000 elsewhere, about 120 recommended; images only). On an update, omitting media keeps existing attachments and their alt text, and media: [] removes them. media_alt_text changes the alt text of images already on the post, one entry per image in the order of media_urls; it cannot be sent together with media. schedule_post and publish_now use the stored alt text. media_urls and network tokens are not accepted.