GET /community/threads
/api/store/[slug]/community/threadsLists public community threads for a store with categories, pinned ordering, and cursor pagination.
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 (each with id, name, slug, description, position, is_locked, viewer_can_view/create_threads/reply), threads (id, title, excerpt, is_pinned, is_announcement, reply_count, category_id/name/slug, last_posted_at, created_at), and page_info (has_more, next_cursor). Reduced shapes: when allow_public_thread_listing is false the 200 body is only { business_slug, threads: [] }; when the forum tables are missing it degrades to { threads: [], page_info, message }. Public reads are CDN-cached 30s.