Skip to content

Passenger events

Once passenger boards PT, and the passenger agrees that Mileus should send them offers for available cars along their way the ride hailer should start sending passenger events to the ingestion engine. The passenger events should be sent periodically to the ingestion engine. The time frame between events should be agreed by both sides. Having the passenger ID and their coordinates in time, Mileus will be able to identify the route the passenger is taking and offer a transfer to a taxi for a faster and more convenient journey home or to their end destination.

The detailed documentation of the passenger events endpoint is available in the API specification.

Field Type Required Description
passengerId string Yes Passenger ID as in the partners system
passengerLocation Coordinates Yes Current passenger location object with valid lat and lon values