Samsara Developer Portal

Integrate your data with the Samsara API, customize the Samsara experience, and join a community of developers building with Samsara.

Get Started
added

ID Card Scans

Posted by Tyler Freckmann 3 months ago

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.

added

Camera Serial

Posted by Tyler Freckmann 3 months ago

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.

improved

Route Completion

Posted by Tyler Freckmann 3 months ago

Routes will now automatically complete upon arrival at the last stop. The complete_last_stop_on_arrival field allows you to control this behavior. If set to true (default), the route will complete upon arrival at the last stop. If set to false, the last stop will capture arrival and departure separately (as with other stops) and the route as a whole will complete upon departure from the last stop. See the Routes reference documentation for details.

API Version: 2020-06-15

Posted by Tyler Freckmann 4 months ago

A new API version was released on 2020-06-15. Changes:

added

Document Name

Posted by Tyler Freckmann 4 months ago

Documents now contain a custom name field. This is a name that a driver can provide when creating a document through the Driver App.

added

Document PDF Downloads

Posted by Tyler Freckmann 4 months ago

We’re excited to announce a new Documents feature for downloading PDFs through the API!

added

Multiple Stat Types in /fleet/vehicles/stats

Posted by Tyler Freckmann 4 months ago

The GET /fleet/vehicles/stats endpoint now accepts up to three stat types. See the Vehicle Stats guide for an example.

removed

ELD Settings and Rulesets

Posted by Tyler Freckmann 4 months ago

This feature has been temporarily rolled back due to a bug. The feature will be re-released once the bug has been fixed.

added

Tachograph Files API

Posted by Tyler Freckmann 4 months ago

Tachograph files are now available via:

added

Diagnostic Trouble Codes

Posted by Tyler Freckmann 5 months ago

Diagnostic Trouble Codes, also known as vehicle fault codes, are available via the Vehicle Stats endpoints. These codes are available for all three vehicle stats endpoints: historical querying, feed-follow, and most recent events. See the Vehicles Stats guide for more details.