Overview
Vehicles is the phone SDK in the driver app, plus two calls from your backend.
Download OpenAPI
The SDK runs in the driver app. It records a trip while a booking is open.
- Getting started —
registerAtLaunch,setup,beginTrip,endTrip - Setup — driver, vehicle, and setup metadata
- Trips — job metadata when the booking starts and ends
- Authentication — server key on the backend, bearer from
tokenProvider - Permissions — what the driver must allow
Backend
Section titled “Backend”Your backend holds the server key. The app never sees it.
- Mint access token —
POST /v1/vehicles/tokens. Bearer fortokenProvider, valid for 24 hours.POST /v1/tokensis deprecated. - End trip (beta) —
POST /v1/vehicles/trips/end. Close an open trip from the server.POST /v1/trips/endis deprecated.
