Post Types
Parameters
Create a Text Post
Use the text post creation page for full platform coverage; this TypeScript example shows the minimum shape for a community text post.Post Structure
Media posts use a parent-child structure. The parent post carries the target, text, metadata, counters, and other feed-level fields. Uploaded image, video, file, audio, or clip attachments are represented as child posts. Common post fields include:Structure Type
structureType classifies a post by its attachment composition.
Use
includeMixedStructure when querying a single media type and you also want posts whose structureType is mixed.
Live Comment Count
localCommentCount is a client-side count that starts from the server commentsCount value and then updates as the SDK observes comment create/delete events. It is exposed by TypeScript, iOS, and Android in the current SDKs.
Use it for active feed or detail screens where a live counter matters. Use commentsCount when you only need the server value returned with the fetched post.
To receive remote updates, the app must both observe the post or feed and subscribe to an appropriate realtime topic.
Global feed queries do not provide a single global post/comment realtime topic. Subscribe at a community, user, or post scope when the UI needs remote events.
Related Topics
Text Posts
Start with the simplest post creation path.
Query Posts
Load feeds and filter by type, target, review status, or mixed structure.
Post Impressions
Track post views and meaningful views where supported.