> ## Documentation Index
> Fetch the complete documentation index at: https://learn.nexudus.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Thread

> Creates a new discussion board thread.

# Create Thread

Creates a new thread in a discussion board group. The authenticated customer becomes the thread author.

## Authentication

Requires a valid customer bearer token.

## Request Body

<ParamField body="GroupId" type="number" required>
  The discussion group to post in.
</ParamField>

<ParamField body="Title" type="string" required>
  Thread title.
</ParamField>

<ParamField body="Content" type="string" required>
  Thread body content.
</ParamField>

<ParamField body="Tags" type="string[]">
  Optional array of tags to apply.
</ParamField>

## Response

Returns a `200 OK` on success.

## Examples

### Create a thread

```http theme={null}
POST /api/public/community/board/threads
Authorization: Bearer {token}
Content-Type: application/json

{
  "GroupId": 1,
  "Title": "Lunch recommendations nearby?",
  "Content": "Looking for good lunch spots within walking distance.",
  "Tags": ["food", "local"]
}
```

## TypeScript Integration

```typescript theme={null}
import endpoints from '@/api/endpoints'

await httpClient.post(endpoints.community.board.threads.create, threadData)
```
