---
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://docs.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 | Description |
|---|---|---|---|
| `rating` | integer | no | Overall rating, 1 (poor) to 5 (great). |
| `category` | `flights` \| `hotels` \| `other` | no | Which area the feedback is about. |
| `message` | string | no | Free-text feedback (bugs, ideas, what worked). |
| `version` | string | no | 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. |

## Example

```bash
curl -s -X POST -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"rating":1,"category":"flights","message":"string","version":"string"}' \
  "https://api.wego.com/v1/feedback"
```

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