Integrate your data with the Samsara API, customize the Samsara experience, and join a community of developers building with Samsara.
New endpoints have been released for Samsara's Industrial products. These endpoints allow you to manage the industrial Assets in your organization, list Data Inputs, and collect both historical data and follow a data feed. See the Industrial API reference docs for more details.
You can now delete recurring routes via the DELETE /v1/fleet/dispatch/routes/{id} endpoint by setting apply_to_future_routes
to true
in the request body. For example
The new Auxiliary Input Hub accessory allows you to connect up to eight additional auxiliary inputs to the Samsara Vehicle Gateway. Data from these additional inputs are now available in all three Vehicle Stats endpoints as stat types auxInput3
-auxInput10
. See the Vehicle Stats reference docs for a full list of stat types.
Engine RPMs are now available in all three Vehicle Stats APIs by including types=engineRpm
as a query parameter. See the Vehicle Stats reference documentation for a full list of vehicle stats.
GPS data is now available in the Vehicle Stats APIs. The types=gps
query parameter will allow you to request GPS data including lat/long, heading, speed, and reverse geocoded address data. This is available for the snapshot, feed, and history vehicle stats endpoints.
A new Hours of Service Clocks endpoint is available that allows you to retrieve the current duty status of all your drivers.
A new Hours of Service endpoint is now available. This endpoint allows you to retrieve duty status logs for all drivers between a given start time and end time.
A new Safety Events endpoint is now available. This endpoint allows you to query for all safety events over a given time range.
ID card scan events are now available via the Vehicle Stats endpoints. The types=nfcCardScans
query parameter will retrieve ID card scan events for the snapshot, feed, and history Vehicle Stats endpoints.
If a Vehicle has a camera installed, the camera's serial number will be available as the cameraSerial
field in the GET /fleet/vehicles and GET /fleet/vehicles/{id} endpoints.