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

External IDs in Addresses API

Posted by Tyler Freckmann 6 months ago

The Addresses API now supports external IDs.

API Version: 2019-12-12

Posted by Tyler Freckmann 7 months ago

We’ve released a new version of the API on 2019-12-12. This should only impact a small set of customers who are currently using our beta endpoint for unassigned driving segments. The updated endpoint now reports composite unassigned driving segments if applicable when querying for an unassigned driving segment by id. The endpoint can now return a new status called 'MULTIPLE', which indicates that the unassigned driving segment has multiple composite segments; composite segments will be returned nested under a new field called 'segments'. Unassigned driving segments will now also return a string representing duty status.

added

Raw GPS distance in Vehicle Stat APIs

Posted by Tyler Freckmann 7 months ago

Raw GPS distance is now available in the Vehicle Stats endpoints. This statistic provides the distance the vehicle has traveled based on GPS calculations.

API Version: 2019-12-07

Posted by Tyler Freckmann 7 months ago

We’ve released a new version of the API on 2019-12-07. This new version adds pagination to the GET /v1/fleet/locations endpoint. This pagination is meant to provide an easy way to increase performance and reliability for existing integrations using the GET /v1/fleet/locations endpoint. However, the new Vehicle Location endpoints are still recommended for new integrations.

added

Vehicle Stat APIs

Posted by Tyler Freckmann 7 months ago

New vehicle stat API endpoints are available that include data about engine states, fuel percents, odometer values, and engine hours. These endpoints provide three ways of getting vehicle stat data:

API Version: 2019-11-19

Posted by Tyler Freckmann 7 months ago

We've released a new version of the API on 2019-11-19: Trips will now return latitude and longistude if reverse geocoding fails, whereas previously the start and end locations would be empty. This affecte the GET /v1/fleet/trips endpoint.

deprecated

Group ID no longer needed

Posted by Tyler Freckmann 8 months ago

Group IDs are no longer required by any API endpoint. Note: group IDs are still accepted to maintain support for legacy integrations, but new integrations should not use group IDs. The API token will encapsulate all identifying information about an organization. Tags should be used for organizing data within an organization.

added

Defect resolution in DVIR APIs

Posted by Tyler Freckmann 8 months ago

The DVIRs API now supports defect resolution by included resolved by information on DVIR defects and allowing you to include a list of defects to resolve when creating a new DVIR.

added

Filter Addresses by Tags

Posted by Tyler Freckmann 9 months ago

The GET /addresses endpoint now allows you to filter by tags.

added

Date-time fields in custom document templates

Posted by Tyler Freckmann 9 months ago

The Documents API now supports date-time fields in custom document templates.