Skip to content
Coursey CreativeSign in

POST /community/threads

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

Creates a new community thread (plus its opening post) as the authenticated storefront customer.

Customer bearer token requiredHow authentication works

Path parameters

slugstringrequired

Business (store) slug that identifies the tenant

Body parameters

titlestringrequired

Thread title, trimmed, 3-180 characters

bodystringrequired

Opening 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_idstringoptional

UUID of the forum category to post in; defaults to the store's default category when omitted; 400 if the category does not exist

Responses

201

The resource was created.

403

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_id/name/slug, 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.