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

# Submit Feedback

`POST /public/widgets/feedback`

## Request

- Base URL: `https://api.feedback1.ai/api/v1`
- URL: `https://api.feedback1.ai/api/v1/public/widgets/feedback`
- Auth: none declared

Submit feedback via widget (JSON body)

This endpoint is called by the feedback widget to submit user feedback.

## Request body

- WidgetFeedbackSubmission: Submit feedback via widget
  - `product_pub_id` string, required
  - `widget_pub_id` string, nullable
  - `content` string, required
  - `campaign_slug` string, nullable
  - `source_url` string, nullable
  - `email` string, nullable
  - `first_name` string, nullable
  - `last_name` string, nullable
  - `company_name` string, nullable
  - `company_revenue` number, nullable
  - `avatar_url` string, nullable
  - `device_context` ClientDeviceContext: Optional client-side device metadata from widget/userportal.
    - `timezone` string, nullable
    - `language` string, nullable
    - `screen_resolution` string, nullable
    - `viewport` string, nullable
  - `attachments` object[]
  - `screenshot` string, nullable
  - `token` string, nullable
  - `turnstile_token` string, nullable

## Response `201`

Successful Response

- unknown

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