Skip to content

Ratings API ​

Endpoints ​

text
POST /api/v1/bookings/:bookingId/rating

Submit ​

json
{
  "rating": 5,
  "categories": {
    "punctuality": 5,
    "communication": 5,
    "safety": 5
  },
  "comment": "Good shared journey."
}

One rating per reviewer per booking. The reviewer is always the authenticated caller; the reviewee is derived from the booking, never supplied by the client.

Ratings are not a control ​

Ratings do not override compliance decisions and are not an input to any compliance rule.

This is deliberate. A rating average is a popularity signal. Allowing it to affect eligibility would mean the platform suspends people on public sentiment instead of verified evidence, and would give a coordinated group of users a lever over other participants' access.

Safety reporting is a separate path with its own workflow — see Safety. A rating is not a substitute for an incident report, and the two are never merged.

A low safety rating is surfaced to operations as a signal; it does not by itself alter a compliance outcome.

KHAWI — same route, go together.