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

Tachograph APIs

Posted by Tyler Freckmann 7 months ago

There is a new Tachograph Activity endpoint to retrieve tachograph activity for drivers.

added

Carrier-Proposed APIs

Posted by Tyler Freckmann 7 months ago

New carrier assignment API endpoints are now available that allow you to propose vehicle, trailer, and shipping doc assignments to drivers. Using this API, you can propose such an assignment to a driver and, the driver will see this proposed assignment in the Samsara Driver App. The endpoints also allow you to query the list of proposed assignments to see when a driver either rejected or accepted the proposed assignment.

added

Auxiliary inputs in Vehicle Stats API

Posted by Tyler Freckmann 7 months ago

The Vehicle Stats endpoints now allow you to query for auxiliary input data.

added

Created at timestamp for Contacts

Posted by Tyler Freckmann 7 months ago

Contact objects now include a timestamp of when a given contact was created.

added

Equipment APIs

Posted by Tyler Freckmann 7 months ago

New Equipment APIs are now available that provide insight into heavy equipment connected to the Samsara platform. These APIs provide data specifically about heavy equipment connected to AG24s through the newly released J1939 cables as well as the existing powered asset cable for the AG24 (APWR). The APIs currently allow you to:

added

Snapshot time in Vehicle Locations and Vehicle Stats APIs

Posted by Tyler Freckmann 7 months ago

The GET /fleet/vehicles/stats and GET /fleet/vehicles/locations endpoints now support a time parameter, which will return the last known stats of all vehicles at the provided time.

added

Tag hierarchies on filters

Posted by Tyler Freckmann 7 months ago

All API endpoints now support a parentTagIds query parameter. This parameter allows you to filter the data to a list of parent tag IDs and automatically includes the data in the descendants of those tags.

added

VIN as an external ID

Posted by Tyler Freckmann 7 months ago

The Vehicles APIs now automatically support VIN as an external ID using the pattern: samsara.vin:1HGBH41JXMN109186. Read more about external IDs on developers.samsara.com.

added

Deactivate Drivers by API

Posted by Tyler Freckmann 7 months ago

The PATCH /fleet/drivers/{id} endpoint now allows you to deactivate drivers by setting the driverActivationStatus field to deactivated. Additionally the Drivers API endpoints now support querying by this driverActivationStatus field.

added

Created and updated timestamps on Drivers

Posted by Tyler Freckmann 7 months ago

The Drivers API now provides timestamps for when Drivers where created and updated, as well as filtering the list of drivers by those timestamps in the GET /fleet/drivers endpoint.