Posts
Create, edit, publish, version, and follow posts.
Session tokens accept post edit, delete and version publishing with posts:write, and bookmark, unbookmark, follow, and mute with notifications:write. Send Authorization: Bearer with X-Project-Feed-Workspace. Only the author can edit or publish a version. Viewers can change their own bookmarks and follow state but cannot edit posts or publish versions. Post edits support If-Match but do not deduplicate by Idempotency-Key. Version publishing accepts If-Match or expectedUpdatedAt and rejects a changed source with 412 precondition_failed. It deduplicates matching requests with the same key before rechecking the original revision.
Delete requires the author or a workspace owner or admin, project write access, and no legal hold. Post edit and delete accept If-Match using the original ETag but have no keyed replay receipt. Keep the original condition when retrying. After a lost response or 412, refetch and compare state before another write. A missing post can mean deletion or lost access, and repeating delete can report already deleted. Bookmarks set a desired state and can be retried with the same verb; serialize later save or unsave intent. Report post and Hide author have no REST routes. Muting a post only changes notification follow state.
Formatted text
Posts, comments, annotations, and Docs accept plain strings or Plate JSON block arrays in content. For Markdown, set contentFormat to markdown. Task descriptions use description and descriptionFormat. These options apply to both create and edit requests.
{
"content": "## Review\n\n- **Ready**\n- [Details](https://example.com)",
"contentFormat": "markdown"
}Markdown supports headings, nested lists, checklists, links, tables, code blocks, and inline formatting. Footnotes become numbered superscript markers with the notes listed at the end. Structured JSON uses the editor's blocks. Each block has a type and children. Text leaves use text with optional marks such as bold or italic.
{
"content": [
{"type": "h2", "children": [{"text": "Review"}]},
{"type": "p", "indent": 1, "listStyleType": "disc", "children": [{"text": "Ready", "bold": true}]}
]
}Explicit formats are plaintext, markdown, and platejs. Omit the format to keep existing string behavior or infer structured JSON. Responses retain the stored formatting. Task comments return their Plate content as a JSON string.
The server derives contentText and descriptionText from the content. Character limits count visible text; request-size limits also apply. Names, titles, and other plain-text fields remain strings.
Endpoints
Response fields
List, get, create, and update return posts with an id. The list leaves out content. Get, create, and update return the same post, with the content and the project. They also return webUrl, a link that opens the post in Project Feed. A draft opens only for its author. Get also returns linkAttachments, the web links on the post.
Delete returns { "success": true }. Posts are soft deleted.
Content limits
- A request body can be up to 512 KB. A larger body returns 413.
- Post text can be up to 25,000 characters. The limit applies to the plain text the content renders to, so formatting marks and Markdown syntax do not count. It is the same for plain text, Markdown, and Plate JSON content. Longer content returns 400.
- A title can be up to 200 characters.
Post status
draftposts are visible only to the author. New posts are drafts unless you sendstatus: "published". Drafts are not listed in the project feed, so open one in the app with itswebUrl.publishedposts are visible to project members and notify followers the first time they are published.
Listing drafts returns only your own. For pagination see conventions. A page can be short while hasMore is true.
Versions
Each post starts at version 1. Publishing a version snapshots the title, content, and media, moves the post to the top of the feed, and notifies followers the same way the app does. Earlier versions keep their media, so reviewers can compare them. Post responses include currentVersion and versionCount.
Only the post author can publish a version, and publishing a draft also publishes the post. A new version returns 201. A retry with the same idempotency key returns the same version with 200.
To add a file, prepare an upload with POST /api/v1/media/uploads and the destination { "type": "post", "id": "pst_abc123" }, transfer the bytes, then pass the upload token and part ETags in uploads instead of completing the upload. A completed upload is already on the current version, so list its media ID in mediaIds instead. A post has at most 10 files per version. See files.
To replace a file, add replacesMediaId with the current file's media ID to its upload item. The new file takes the replaced file's position among the files you keep, and reviewers can compare it with the file it replaced. The replaced file leaves the new version, so leave its ID out of mediaIds.
The version list is newest first. Media URLs are short-lived signed links, so fetch the version again for fresh ones.
Release details
A post can carry release details for a build or version. The version is free text, so it does not have to be semver. Post responses include release when it is set. Release details belong to the post, not to a post version.