Posts
Preview post per platform
Preview how a post will render on each enabled platform — applies platform-specific HTML sanitization and shows length stats against each platform’s max.
GET
Path parameters
The UUID of the post.
Behaviour
- The post must belong to the caller’s current workspace; otherwise the response is
404. - Returns the original content alongside per-platform sanitized versions and length statistics.
original_contentis the plain text stored on the post (the editor saves plain text, not HTML).sanitized_contentis the platform-specific rendering of that text. For most platforms this is identical to the original. Exceptions:- LinkedIn / LinkedIn Page — Unicode bold/underline substitution if the source contained
<strong>/<b>/<u>markers (used by the AI generator). - Mastodon — a small allow-list of inline HTML is preserved (
p,strong,em,a,br,span).
- LinkedIn / LinkedIn Page — Unicode bold/underline substitution if the source contained
truncatedistrueonly when sanitization actually shortened the byte count (e.g. an HTML entity got decoded). It is not a hard-cap signal — over-length content is rejected at publish time, never silently truncated. To detect over-limit content, comparesanitized_lengthagainstmax_content_lengthyourself.

