# Create Public Comment

POST /api/v2/feedback/{projectId}/posts/{postId}/comments

Adds a visitor comment to a public post. Public and unauthenticated. Comments have to be enabled on the board the visitor is using. Do not call this as a fake visitor.

## Request

- postId: string, path, required — ID of the post to comment on.
- projectId: string, path, required — ID of the project that owns the post.
- body: string, required — Comment text, up to 5000 characters.
- surface: feedback | roadmap, required — Which public portal the visitor is on. Votes and comments are tracked separately on each.
- visitorId: string, required — Random per-project id the portal stores in the visitor's browser.
- authorName: string — Name shown on the post or comment. Null or omit to leave it blank.

## Response

- 200: Successful response
  - body: string, required
  - createdAt: string, required
  - id: string, required
  - isAuthor: boolean, required
  - isTeam: boolean, required
  - kind: comment | merge, required, default comment
  - postId: string, required
  - updatedAt: string, required
  - authorImage: string
  - authorName: string
  - mergedPostId: string
- 400: Invalid input data
- 401: Authorization not provided
- 403: Insufficient access
- 500: Internal server error
