COMPLETED status before feedback can be accepted.
Authentication required — include Authorization: Bearer <token> in the request header.
Request
POST /rides/feedback/{rideId}
The unique ID of the completed ride.
Your rating for the ride. Must be an integer between
1 and 5 (inclusive).Optional written feedback. Stored in
riderFeedback on the ride (up to 600 characters).Response
Unique ride identifier.
Remains
COMPLETED after feedback is submitted.The rating you submitted (1–5).
The comment you submitted, or an empty string if none was provided.
ID of the rider.
ID of the driver.
Fare for the ride.
Pickup address.
Drop-off address.
ISO 8601 timestamp of ride creation.
Example
Feedback can only be submitted for rides with status
COMPLETED. Attempting to submit feedback on a ride in any other status returns a 400 Bad Request.