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

API Version: 2019-08-21

Posted by Tyler Freckmann about a year ago

We've released a new version of the API on 2019-08-21: On the HOS audit logs event, the logStartMs value for the "Driver Signout" event now reflects the time a vehicle assignment ended, rather than the time a vehicle assignment started, to more clearly reflect the driver's signout time.

API Version: 2019-07-30

Posted by Tyler Freckmann about a year ago

We've released a new version of the API on 2019-07-30: The HOS logs summary endpoint now leverages pagination on drivers for a more performant call.

added

Color in machine vision APIs

Posted by Tyler Freckmann about a year ago

There will now be color data available in the machine vision APIs.

API Version: 2019-07-17

Posted by Tyler Freckmann about a year ago

We've released a new version of the API on 2019-07-17: This should only impact a small set of customers who are currently using our beta endpoint for HOS audit logs. This endpoint now uses the log's createdAtMs timestamp rather than the logStartMs to determine the time range of logs to fetch.

added

updatedAt and createdAt in Documents

Posted by Tyler Freckmann about a year ago

The documents endpoint now includes an optional query parameter to allow users to query documents by either their updatedAt value or createdAt value. This endpoint also now returns a serverCreatedAt and serverUpdatedAt timestamp. Documents that were created prior to tracking serverUpdatedAtMs will have a value of 0ms.

added

Timestamps in Sensor APIs

Posted by Tyler Freckmann about a year ago

All sensor endpoints now include timestamps for the time that the value was read.

added

Vehicle and Trailer associations

Posted by Tyler Freckmann about a year ago

Now, you can find the automatic associations between vehicles and asset gateways within the API. You can find the current association on the assets endpoint and any historical associations on the trips endpoint.

added

Tags in /v1/fleet/list

Posted by Tyler Freckmann about a year ago

The /v1/fleet/list endpoint now returns a list of tags that each vehicle is associated with.

added

Contacts APIs

Posted by Tyler Freckmann about a year ago

You can now create, update, and delete contacts using the new contacts APIs.

fixed

Document submission webhook

Posted by Tyler Freckmann about a year ago

We've corrected a developer experience issue in the document submission alert webhook. Previously we returned the driverCreatedAtMs field, but now we will return a driverId_driverCreatedAtMs field so that the webhook field matches the API-consumable field.