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

Auxiliary inputs in Vehicle Stats API

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

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

added

Equipment APIs

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

added

Parent tag on all entities

Posted by Tyler Freckmann 11 months ago

All tag fields will now include the ID of the parent tag. This means that whenever an object is part of a given tag, it will include the parent tag ID as well.

added

Tags filtering in /v1/fleet/assets/locations and /v1/fleet/locations

Posted by Tyler Freckmann 11 months ago

The GET /v1/fleet/assets/locations and the legacy GET /v1/fleet/locations endpoints now support filtering by tags.