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
improved

Route Completion

Posted by Tyler Freckmann 7 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 7 months ago

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

added

Document Name

Posted by Tyler Freckmann 7 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 7 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 7 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 8 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 8 months ago

Tachograph files are now available via:

added

Diagnostic Trouble Codes

Posted by Tyler Freckmann 8 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.

added

New PATCH endpoint available for Tags

Posted by Tyler Freckmann 8 months ago

We've released PATCH /tags/{id} which allows you to update a tag using PATCH semantics.

added

Mechanic Notes in DVIR Defects

Posted by Tyler Freckmann 8 months ago

DVIR defects now support a mechanic notes field and timestamp on when the notes were updated. This supports use cases where DVIR defects need to be updated with notes while being worked on. Reading and writing mechanic notes is supported through both the Samsara dashboard and the defects APIs.