post.product or event.session. Avoid built-in post data types such as text, image, video, file, poll, and liveStream.
Structured Data
Store an application-defined JSON payload in the post data.
Custom Rendering
Render custom post types with your own UI in feeds and detail screens.
Parameters
Create a Custom Post
The examples below create a custom product-style post in a community. Replace the data type and payload with your app’s schema.Notes
- The SDK stores the custom payload; your application owns validation and rendering for the custom schema.
- Use one stable data type per custom schema so feeds can route rendering predictably.
- Keep custom post data focused on renderable content. Use
metadatafor auxiliary app data that should not define the post type.
Related Topics
Posts Overview
Review post concepts, retrieval, and moderation flows.
Query Posts
Load custom posts back into feed and detail screens.
Edit Posts
Update supported post fields after creation.