Skip to content

Submit feedback

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

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

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"
Navigation

Type to search…

↑↓ navigate↵ selectEsc close