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

New Duty Status Endpoint

Posted by Tyler Freckmann 8 months ago

We've released POST /v1/fleet/drivers/{driver_id}/duty_status which allows you to set driver duty status.

added

External IDs in Routes

Posted by Tyler Freckmann 9 months ago

Routes now support external IDs.

added

Battery Voltage in Vehicle Stats

Posted by Tyler Freckmann 9 months ago

Battery voltage is now available through the Vehicle Stats endpoints.

added

Delete Document API Endpoint

Posted by Tyler Freckmann 9 months ago

A new API endpoint is available that allows you to delete a Document: DELETE /v1/fleet/drivers/{driver_id}/documents/{doc_id}.

added

Device Serial Number

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

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

added

Carrier-Proposed APIs

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