Endpoints that update ride state or location require an
Authorization header with a valid bearer token.View available rides
Fetch all rides that riders have requested but no driver has accepted yet.Example responsePoll this endpoint regularly or integrate with your notification handler to pick up new requests quickly.
Accept a ride
Claim a ride by posting the Example responseThe response includes
ACCEPTED status along with your driver ID.startOtp. Keep this value — the rider will read it back to you at pickup to confirm the correct passenger before you start the trip.Mark the ride as picked up
Once you have arrived and the rider confirms their identity by giving you the Example responseThe response now includes
startOtp, post the PICKED status with that OTP to start the trip.endOtp. You will need this to complete the ride at the destination.Update your live location
While the trip is in progress, post your current coordinates so the rider can track you in real time.Example response
Find nearby drivers
Use this endpoint to surface available drivers close to a given location — useful for building a dispatcher view or a rider-facing “drivers near you” preview.| Parameter | Required | Default | Description |
|---|---|---|---|
lat | Yes | — | Latitude of the search centre |
lon | Yes | — | Longitude of the search centre |
radiusKm | No | 5 | Search radius in kilometres |
limit | No | 10 | Maximum number of drivers to return |
[]).