List Posts (Feed)
List published posts in the social feed, filtered by the user’s audience/segment access.
Authentication: Public with visitor fallback — shows public posts to unauthenticated visitors if public_content is enabled.
Feature gate: Requires posts feature enabled on the app.
Query parameters:
page(optional, default 1) — Page number (10 posts per page)space(optional) — Filter to a space by slug; passallfor every space the user can seesegment_slug(optional) — Filter to posts targeted at a segment (the segment’ssimple_id)sort(optional, defaultrecent) — Order:recent(newest first),oldest, orpopular(most liked)start_date(optional) — Only posts created on or after this date (YYYY-MM-DD)end_date(optional) — Only posts created on or before this date (YYYY-MM-DD)
Response:
posts— Array of post objects with content, author, media, likes, comments countpage— Current page numberpaging— Pagination metadatacurrent_user_id— Current user’s ID (null for visitors)
Post visibility rules:
- Admin posts: shown based on audience targeting (public, custom, products, segments)
- User posts: approved posts shown to all; unapproved posts shown only to the author
- Visitor access: only public or explicitly non-excluded posts
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Query parameters
page
Page number (10 posts per page)
Response
OK