POST /forums/threads
/api/store/[slug]/forums/threadsCreates a new forum thread (plus its opening post) as the authenticated storefront customer; alias that re-exports the community threads handler.
Path parameters
slugstringrequiredBusiness (store) slug that identifies the tenant
Body parameters
titlestringrequiredThread title, trimmed, 3-180 characters
bodystringrequiredOpening post body, trimmed, 1-5000 characters; the author's profile tagline is appended server-side and the combined length must stay within 5000 characters
category_idstringoptionalUUID of the forum category to post in; defaults to the store's default category when omitted; 400 if the category does not exist
Responses
The resource was created.
The credential is valid but is not allowed to do this.
What comes back
201 with success:true, thread (id, title, status, visibility, reply_count, category fields, last_posted_at, created_at), and post (id, created_at). 403 when thread creation is disabled or the member is muted/banned or lacks role/category permission.