COMPLETED status before feedback can be accepted.
Authentication required — include Authorization: Bearer <token> in the request header.
Request
POST /rides/feedback/{rideId}
number
required
The unique ID of the completed ride.
integer
required
Your rating for the ride. Must be an integer between
1 and 5 (inclusive).string
Optional written feedback. Stored in
riderFeedback on the ride (up to 600 characters).Response
number
Unique ride identifier.
string
Remains
COMPLETED after feedback is submitted.number
The rating you submitted (1–5).
string
The comment you submitted, or an empty string if none was provided.
number
ID of the rider.
number
ID of the driver.
number
Fare for the ride.
string
Pickup address.
string
Drop-off address.
string
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.