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

Device Serial Number

Posted by Tyler Freckmann 2 months ago

The Samsara Vehicle Gateway serial number will now be included in the Vehicle object as well as an automatic external ID.

added

Archived Documents

Posted by Tyler Freckmann 2 months ago

Documents can now be archived in the Samsara Dashboard. When retrieving documents through the API, the state field of a document can now be Archived in addition to Required and `Submitted.

added

DVIR APIs

Posted by Tyler Freckmann 3 months ago

New and improved vehicle DVIR endpoints are now available. These endpoints support querying for DVIRs as well as a list of all vehicle defects. They also support resolving DVIRs and vehicle defects directly through the API. Here are the following endpoints that have been released:

added

Filter addresses by created timestamp

Posted by Tyler Freckmann 3 months ago

The GET /addresses endpoint now allows you to filter to addresses created after a given time.

added

Tachograph APIs

Posted by Tyler Freckmann 3 months ago

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

added

Carrier-Proposed APIs

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

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

added

Equipment APIs

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