Skip to content
Coursey CreativeSign in

GET /community/threads

/api/store/[slug]/community/threads

Lists public community threads for a store with categories, pinned ordering, and cursor pagination.

Public; bearer token personalizes actor and viewer permission fieldsRate limit 120/min anonymous, 600/min with a keyHow authentication works

Path parameters

slugstringrequired

Business (store) slug that identifies the tenant

Query parameters

limitnumberoptional

Max threads per page; clamped to the range 1-50

Default 20

categoryIdstringoptional

Forum category UUID; when set, only threads in that category are returned

cursorstringoptional

Opaque base64url pagination cursor from a previous response's page_info.next_cursor; invalid cursors return 400

Responses

200

The request succeeded.

429

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.