---
title: "Submit Feedback"
method: POST
path: "/api/feedback"
tags: ["feedback"]
---

# Submit Feedback

`POST /api/feedback`

## Request

- Base URL: `https://api.pcbgenerator.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pcbgenerator.com/api/feedback`
- Auth: none declared

Accept user feedback from stackup generator (micro-prompt or widget).
Persists to backend/data/feedback/ as JSONL; one file per day.

## Request body

- FeedbackPayload: Request body for POST /api/feedback.
  - `source` string, required
  - `trigger` string, required
  - `rating` string, nullable
  - `comment` string, nullable
  - `context` object, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pcbgenerator/apis/pcb-stackup-generator-api.md) · [All operations](https://skmtc.dev/pcbgenerator/apis/pcb-stackup-generator-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pcbgenerator/apis/pcb-stackup-generator-api/revisions/b6084b3ace32?raw)
