---
title: "Submit feedback"
description: "Records feedback about the Wego CLI/API experience – a rating (1-5), a category, and/or a free-text message."
---

> Documentation Index
> Fetch the complete documentation index at: https://agents.wego.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Submit feedback

`POST /v1/feedback`

Records feedback about the Wego CLI/API experience – a rating (1-5), a category, and/or a free-text message. At least one of rating or message is required. Fire-and-forget: returns 202 and never blocks on recording.

Operation ID: `submitFeedback`

## Request body

`application/json`

| Field | Type | Required | Constraints | Description |
|---|---|---|---|---|
| `rating` | integer | no | 1..5 | Overall rating, 1 (poor) to 5 (great). |
| `category` | `flights` \| `hotels` \| `other` | no | - | Which area the feedback is about. |
| `message` | string | no | length 1..2000 | Free-text feedback (bugs, ideas, what worked). |
| `version` | string | no | length *..50 | CLI version the feedback came from. |



## Responses

| Status | Description |
|---|---|
| `202` | Feedback accepted. |
| `400` | Invalid feedback body (e.g. neither rating nor message provided). |
| `401` | Missing or invalid bearer token. |
| `429` | Rate limit exceeded; retry after the `Retry-After` seconds. |

### `202` body

| Field | Type | Always present | Description |
|---|---|---|---|
| `status` | string | yes | The feedback was accepted. |


## Example

```bash
curl -s -X POST -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"rating":5,"message":"Fare options were exactly what I needed."}' \
  "https://api.wego.com/v1/feedback"
```

Source: https://agents.wego.com/api/feedback/submit-feedback/index.mdx
