settings object with "__type": "x". Read the live schema for your channel with Get a channel’s settings.
Fields
The text limit
A post takes 280 characters, or 4,000 when the channel is marked Verified. The Verified mark is read from X when the channel is connected and is changed in the app, not per post. An Article takes up to 100,000. Length is counted the way X counts it: a link is 23 characters, and most emoji and CJK characters are 2.Thread replies
Each extra entry invalue is posted as a reply to the entry before it, after its delay in minutes. Every entry is held to the same media rule as the first. A draft Article cannot have replies.
Articles
Withpost_type: "article", content is HTML. X keeps these tags: h1 and h2 headings (an h3 is sent as h2), ul and li bullet lists, strong for bold, and a links. Every other tag becomes a plain paragraph. A picture goes where it should appear as <img src="..." alt="...">, with the path of a picture in your media library; a src that is not a PostQueen upload is dropped. The images attached to the entry are placed at the end of the Article. Video is not allowed.
What PostQueen checks
A post that breaks one of these rules is refused with400 before it is scheduled:
The error body names the channel and the rule:
Examples
Send each body to create a post. ReplaceYOUR_CHANNEL_ID with the channel’s id from list channels, and each media id and path with the values upload a file returns.
"article_status": "draft" instead, it lands in your X drafts.