---
title: "Create Feature Comment"
method: POST
path: "/userportal/features/{feature_id}/comments"
tags: ["userportal-public"]
---

# Create Feature Comment

`POST /userportal/features/{feature_id}/comments`

## Request

- Base URL: `https://api.feedback1.ai/api/v1`
- URL: `https://api.feedback1.ai/api/v1/userportal/features/{feature_id}/comments`
- Auth: none declared

Create a new conversation (comment) on a feature.

Authentication:
- If authenticated via session token, conversation is linked to the CRM contact
- If not authenticated, a guest conversation is created (requires email)
- Employees (users) can also reply as company representatives

The conversation is public by default and appears on the userportal.

## Path parameters

- `feature_id` integer, required

## Query parameters

- `access` string, nullable: Access token for token-protected roadmaps

## Headers

- `F1-Product` string
- `authorization` string, nullable

## Request body

- CreateCommentRequest: Request to create a new comment on a feature.
  - `content` string, required: Comment content
  - `parent_id` integer, nullable: Pub ID of parent comment when replying
  - `email` string, nullable: Email for guest comments
  - `first_name` string, nullable: First name for guest comments
  - `last_name` string, nullable: Last name for guest comments

## Response `200`

Successful Response

- AppApiUserportalPublicCommentResponse: Comment response for userportal
  - `id` string, nullable
  - `content` string, required
  - `text` string, nullable
  - `email` string, nullable
  - `firstName` string, nullable
  - `lastName` string, nullable
  - `fullName` string, nullable
  - `avatarUrl` string, nullable
  - `createdDate` string, nullable
  - `userId` integer, nullable
  - `isCompanyRepresentative` boolean
  - `companyName` string, nullable
  - `threadComments` AppApiUserportalPublicCommentResponse[]
  - `isThreadStarter` boolean
  - `threadStarterId` integer, nullable
  - `canDelete` boolean

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/feedback1/apis/feedback1-public-api.md) · [All operations](https://skmtc.dev/feedback1/apis/feedback1-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/feedback1/apis/feedback1-public-api/revisions/e7626420f622?raw)
