GET /forums/threads/[threadId]/posts
/api/store/[slug]/forums/threads/[threadId]/postsFetches a public forum thread with its visible posts, author labels/badges, vote scores, and cursor pagination.
Path parameters
slugstringrequiredBusiness (store) slug that identifies the tenant
threadIdstringrequiredThread UUID to fetch (must be a public thread with status open or locked)
Query parameters
limitnumberoptionalMax posts per page; clamped to the range 1-100
Default 40
cursorstringoptionalOpaque base64url pagination cursor from a previous response's page_info.next_cursor; invalid cursors return 400
Responses
The request succeeded.
Too many requests. Back off and retry after the window in the response.
What comes back
JSON with business_slug, thread (id, title, status, is_pinned, is_announcement, last_posted_at, category_id/name/slug, viewer_can_delete), posts (each with id, parent_post_id, parent_author_label, body, created_at, author_customer_id, author_avatar_url, author_tagline, author_type team|customer, author_badge, author_label, is_original_poster, vote_score, viewer_vote), and page_info (has_more, next_cursor). When public thread listing is disabled the 200 body reduces to { thread: null, posts: [], page_info }. Public reads are CDN-cached 20s.