---
title: "Submit Segment Feedback"
method: POST
path: "/segments/{segment_id}/feedback"
tags: ["Shorts"]
---

# Submit Segment Feedback

`POST /segments/{segment_id}/feedback`

## Request

- Base URL: `https://api-v2.pandavideo.com.br/shorts`
- URL: `https://api-v2.pandavideo.com.br/shorts/segments/{segment_id}/feedback`
- Auth: API key in header `Authorization`

Submits a like or dislike feedback for a generated segment. Submitting the same feedback type again will remove it (toggle behavior).

## Path parameters

- `segment_id` string, required

## Request body

- object
  - `feedback_type` 'like' | 'dislike', required: The type of feedback.
  - `reason` string: Reason for the feedback (e.g. `bad_quality`, `wrong_segment`).
  - `reason_observation` string: Additional observation or comment about the feedback.

## Response `200`

200

- object
  - `success` boolean
  - `action` 'added' | 'removed': `added` when feedback is submitted, `removed` when toggled off.
  - `message` string

## Other responses

- `400`: 400
- `500`: 500

---

[API](https://skmtc.dev/pandavideo/apis/shorts.md) - [All operations](https://skmtc.dev/pandavideo/apis/shorts/llms.txt) - [OpenAPI document](https://skmtc.dev/pandavideo/apis/shorts/revisions/912538d74790?raw)
