Skip to content
This page is available in Markdown format. Markdown is recommended for AI consumption. See /api/feedback/submit-feedback/index.md for this page, or/llms.txt for the full documentation index.

Submit feedback

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

View as MarkdownView this page as plain text
Carries onwardterminal
Settlesimmediately
Id expiresno

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

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"

FORM WG-REF · SEQ 004821The API and the ways in to it are early and may change.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close