GET /forums/threads
/api/store/[slug]/forums/threadsLists public forum threads for a store with categories, pinned ordering, and cursor pagination; alias that re-exports the community threads handler.
Path parameters
slugstringrequiredBusiness (store) slug that identifies the tenant
Query parameters
limitnumberoptionalMax threads per page; clamped to the range 1-50
Default 20
categoryIdstringoptionalForum category UUID; when set, only threads in that category are returned
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, actor (role, status), categories, threads (id, title, excerpt, is_pinned, is_announcement, reply_count, category fields, last_posted_at, created_at), and page_info (has_more, next_cursor). When public thread listing is disabled the 200 body reduces to { business_slug, threads: [] }. Public reads are CDN-cached 30s.