Vehicle Boarding#
The Fleet API supports several different flows for boarding a Vehicle:
Passenger Authentication – via onboard methods such as Bluetooth, NFC, or PIN pad
Manual Boarding Preparation – triggered externally through the API to complete the boarding process (e.g., open doors)
The boarding preparation process is a critical step in the vehicle’s operation. It ensures that the assigned passenger is near the Vehicle and properly authenticated before boarding.
Depending on the configured operation mode, this preparation can either be:
performed directly by the Vehicle, interacting with the passenger (e.g., NFC tap, PIN entry, BLE exchange), or
handled externally by the API user (e.g., through a Mobility App that authenticates the passenger and confirms readiness).
Authentication Capabilities#
Vehicles in the Fleet can advertise one or more authentication capabilities:
BOARDING_PREPARATION_CAPABILITY_API– API-triggered boarding (external control)BOARDING_PREPARATION_CAPABILITY_NFC– NFC-based authenticationBOARDING_PREPARATION_CAPABILITY_BLE– Bluetooth Low Energy authenticationBOARDING_PREPARATION_CAPABILITY_PINPAD– PIN pad authentication
Capabilities are exposed per vehicle and per ride, allowing API users to choose a compatible authentication flow.
Authentication Flow#
Authentication Data Provisioning
When a ride without explicit boarding preparation data is assigned to a vehicle, aBoardingPreparationDataUpdatedevent is emitted.This event carries authentication tokens or keys needed by the client.
The data is sent early to ensure that clients can already prepare, even before the Vehicle reaches the pick-up location.
Boarding Preparation Start
Once the Vehicle reaches the pick-up waypoint (WaypointReachedevent), it initiates the boarding preparation process.A
BoardingPreparationStartedevent is emitted.The event includes:
the boarding preparation capabilities available for this ride,
the authentication data (e.g., NFC token, BLE secret) required to authenticate.
Passenger Authentication
The client or passenger uses the provided data to authenticate with the Vehicle (depending on capability).
For API-controlled boarding, the Mobility App ensures authentication externally.
Boarding Preparation Completion
Once authentication is successful, a
BoardingPreparationCompletedevent is emitted.
Manual Completion of Boarding Preparation#
If the vehicle supports API-triggered boarding (BOARDING_PREPARATION_CAPABILITY_API), the API user is responsible for explicitly completing the process.
The user must issue a
SendBoardingPreparationSuccessfulcommand to the Fleet API.This triggers the Vehicle to finalize boarding preparation, which may include opening the doors.
Note
The API user is responsible for ensuring that the passenger is physically at the vehicle and properly authenticated before sending this command.
The outcome can be monitored via Mission Events:
Success: A
BoardingPreparationCompletedevent is emitted.
Manual Start Ride Confirmation#
Some autonomous driving (AD) vehicles require an explicit trigger from the API user before commencing the ride after boarding preparation is complete.
Vehicle Ready Once the vehicle is ready to start, a
WaitingForStartRideCommandevent is emitted.The event includes a unique
request_idfor correlation.This signals that the vehicle is waiting for external confirmation to proceed.
Start Command The API user issues a
SendStartRideCommandto the Fleet API.The command includes the
request_idfrom the previous event.This triggers the vehicle to commence the ride.
Confirmation A
StartRideCommandProcessedevent is emitted, confirming the ride has started.The event includes the
request_idfor tracking.