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

GPS in Vehicle Stats APIs

Posted by Tyler Freckmann 17 days ago

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.

added

Hours of Service Clocks API

Posted by Tyler Freckmann 17 days ago

A new Hours of Service Clocks endpoint is available that allows you to retrieve the current duty status of all your drivers.

added

Hours of Service API

Posted by Tyler Freckmann 18 days ago

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.

added

Safety Events API

Posted by Tyler Freckmann 18 days ago

A new Safety Events endpoint is now available. This endpoint allows you to query for all safety events over a given time range.

added

ID Card Scans

Posted by Tyler Freckmann 18 days 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 18 days 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 18 days 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 26 days ago

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

added

Document Name

Posted by Tyler Freckmann 26 days 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 about a month ago

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