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 Camera Media Beta API

Posted by Tyler Freckmann 3 months ago

The external IDs of each dashcam's vehicle have been added to the payload of the GET /fleet/vehicles/cameras/media/history beta API endpoint. Note: This API is in beta and is likely to change before it enters a broader release. This beta release gives you the opportunity to experiment and provide feedback – before the final release. The final release will be announced via another changelog entry.

added

Routes Beta API

Posted by Tyler Freckmann 4 months ago

We've released a beta version of a new endpoint to create routes. This new version conforms to our latest API standards. You can preview the reference docs here. Note: This API is in beta and is likely to change before it enters a broader release. This beta release gives you the opportunity to experiment and provide feedback – before the final release. The final release will be announced via another changelog entry.

added

Camera Media Beta API

Posted by Tyler Freckmann 4 months ago

We've released a new beta API endpoint that allows you to retrieve camera media for a given time period. You can view the reference docs here. Note: This APIs is in beta and is likely to change before it enters a broader release. This beta release gives you the opportunity to experiment and provide feedback – before the final release. The final release will be announced via another changelog entry.

added

Custom Attributes Beta API

Posted by Tyler Freckmann 4 months ago

We've released a beta version of a new set of endpoints that allow you to create and manage custom attributes for drivers and vehicles. See the new Custom Attributes guide for more details.

added

Approx. Engine Runtime on Equipment

Posted by Tyler Freckmann 4 months ago

A new stat type is available for the types query param in the /fleet/equipment/stats endpoints: types=gatewayJ1939EngineSeconds. This an approximation of engine runtime for equipment with J1939/CAT cables. It is based on the cumulative time that the Samsara AG device has received power from the engine. This stat is only available for equipment that does not automatically report engine runtime from on-board diagnostics. In order to activate this stat, you must set a manual engine runtime offset for the piece of equipment in the Samsara Dashboard.

added

Risk Zone Addresses

Posted by Tyler Freckmann 4 months ago

Addresses now support riskZone as an additional option for addressTypes[].

added

/me API endpoint

Posted by Tyler Freckmann 5 months ago

A /me API endpoint is now available that returns information about the organization that the API access token belongs to. This includes the organization's id, name, and carrierSettings if the organization is a fleet.

added

Conditional Fields in Documents

Posted by Tyler Freckmann 5 months ago

Documents now support conditional fields that enable follow-up questions for a given multiple-choice answer.

added

Beta APIs

Posted by Tyler Freckmann 6 months ago

A beta API section has been added to the API reference docs. These APIs are available for you to test and leave feedback! Beta APIs are subject to change before they become generally available. GA releases of beta APIs will be announced via the changelog. Future beta APIs will be released in the beta section of the API reference docs.

added

ECU Speed

Posted by Tyler Freckmann 6 months ago

ECU speed is now available in the Vehicle Stats endpoints. The types=ecuSpeedMph query parameter will provide ECU speed for all three vehicle stats endpoints. This speed measure comes directly from on-board diagnostics, as opposed to speed calculated using GPS.