> ## 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.

# Post Article Comment

> Posts a new comment on a published article on behalf of the authenticated customer.

# Post Article Comment

Submits a new comment on a published article. Only available when comments are enabled for the post.

## Authentication

Requires a valid customer bearer token.

## Path Parameters

<ParamField path="postId" type="number" required>
  Numeric identifier of the article. Returned as `Id` from `GET /api/public/blogPosts`.
</ParamField>

## Request Body

<ParamField body="comment" type="string" required>
  The text body of the comment.
</ParamField>

## Response

Returns a `200 OK` on success.

## Examples

### Post a comment

```http theme={null}
POST /api/public/blogPosts/55/comments
Authorization: Bearer {token}
Content-Type: application/json

{
  "comment": "Great article, very helpful tips!"
}
```

```
HTTP/1.1 200 OK
```

## TypeScript Integration

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

await httpClient.post(endpoints.blog.newComment(55), {
  comment: 'Great article, very helpful tips!',
})
```
