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 PATCH endpoint available for Tags

Posted by Tyler Freckmann 5 months ago

We've released PATCH /tags/{id} which allows you to update a tag using PATCH semantics.

added

Mechanic Notes in DVIR Defects

Posted by Tyler Freckmann 5 months ago

DVIR defects now support a mechanic notes field and timestamp on when the notes were updated. This supports use cases where DVIR defects need to be updated with notes while being worked on. Reading and writing mechanic notes is supported through both the Samsara dashboard and the defects APIs.

added

New Duty Status Endpoint

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

Routes now support external IDs.

added

Battery Voltage in Vehicle Stats

Posted by Tyler Freckmann 6 months ago

Battery voltage is now available through the Vehicle Stats endpoints.

added

Delete Document API Endpoint

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

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