---
title: "Create Feedback"
method: POST
path: "/products/{product_id}/feedback"
tags: ["Feedback"]
---

# Create Feedback

`POST /products/{product_id}/feedback`

## Request

- Base URL: `https://api.feedback1.ai/api/v1`
- URL: `https://api.feedback1.ai/api/v1/products/{product_id}/feedback`
- Auth: HTTP bearer

Create new feedback.

You can optionally provide contact information to associate the feedback
with an existing contact or create a new one.

## Path parameters

- `product_id` string, required

## Request body

- FeedbackCreate: Create feedback request
  - `content` string, required
  - `type` string: Feedback type: general, bug, idea, question, praise, complaint
  - `source_url` string, nullable
  - `sent_via` string
  - `score` integer, nullable: Score value; requires score_type to interpret
  - `score_type` string, nullable: Score type: nps, csat, or ces
  - `contact_email` string, nullable
  - `contact_name` string, nullable
  - `contact_id` string, nullable: Existing CRM contact ID
  - `account_name` string, nullable
  - `account_id` string, nullable: Existing CRM account ID

## Response `201`

Successful Response

- PublicFeedbackResponse: Feedback response for Public API
  - `id` string, required
  - `pub_id` integer, required
  - `content` string, required
  - `type` string, required
  - `state` FeedbackStateInfo: State info in feedback response
    - `id` integer, required
    - `name` string, required
    - `color` string, nullable
  - `source_url` string, nullable
  - `sent_via` string, required
  - `score` integer, nullable
  - `score_type` string, nullable
  - `contact` FeedbackContactInfo: Contact info in feedback response
    - `id` string, nullable
    - `email` string, nullable
    - `name` string, nullable
  - `account` FeedbackAccountInfo: Account info in feedback response
    - `id` string, nullable
    - `name` string, nullable
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `sentiment` string, nullable
  - `sentiment_source` string, nullable
  - `sentiment_confidence` number, nullable
  - `sentiment_reason` string, nullable
  - `sentiment_analyzed_at` string, date-time, nullable
  - `sentiment_analysis_status` string, nullable

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