---
title: "Create feedback"
method: POST
path: "/feedbacks"
---

# Create feedback

`POST /feedbacks`

## Request

- Base URL: `https://api.closedloop.sh`
- URL: `https://api.closedloop.sh/feedbacks`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/closedloop/apis/closedloop-ai-api/docs/feedbacks/post.ts> (a function with typed inputs; its response is checked against the schema)

Submit new customer feedback for analysis

## Request body

- object
  - `text` string, required: The feedback text content
  - `source` string: Source of the feedback
  - `metadata` object: Additional metadata about the feedback

## Response `201`

Feedback created successfully

- Feedback
  - `id` string, uuid
  - `text` string
  - `source` string
  - `created_at` string, date-time
  - `status` 'new' | 'processing' | 'completed' | 'failed'

## Other responses

- `400`: Bad request
- `401`: Unauthorized - Invalid or missing API key
- `500`: Internal server error

---

[API](https://skmtc.dev/closedloop/apis/closedloop-ai-api.md) - [All operations](https://skmtc.dev/closedloop/apis/closedloop-ai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/closedloop/apis/closedloop-ai-api/revisions/20e04ae722ee?raw)
