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

Edge detection in machine vision APIs

Posted by Tyler Freckmann 9 months ago

Two new fields have been added to the machine vision APIs:

added

Vehicle Location APIs

Posted by Tyler Freckmann 9 months ago

New vehicle location API endpoints are available that provide three ways of getting location data:

API Version: 2019-09-30

Posted by Tyler Freckmann 9 months ago

We've released a new version of the API on 2019-09-30: Messages are now limited to 2500 characters. This affects the POST /v1/fleet/messages endpoint, which creates new messages. Users will now receive a 400 error if they try to create messages over 2500 characters.

added

Drive time and on-duty time

Posted by Tyler Freckmann 9 months ago

The /v1/fleet/drivers/{driver_id}/hos_daily_logs endpoint now includes drive time and on-duty time in daily logs. Additionally, pending carrier edits to daily logs are also now available.

added

Next Generation of APIs

Posted by Tyler Freckmann 9 months ago

We’ve launched a new and improved API, featuring standardized pagination, human-readable timestamps, nested objects, and more! Check out this FAQ to find out more. The resources available from this new API include Addresses, Contacts, Drivers, Tags, Users, and Vehicles - with more to come!

API Version: 2019-09-13

Posted by Tyler Freckmann 10 months ago

We've released a new version of the API on 2019-09-13: The HOS authentication log endpoint has been updated to reflect the Driver Hours of Service Audit Report in the dashboard. This removes potentially duplicate sign-out events.

API Version: 2019-08-21

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

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

API Version: 2019-07-17

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