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

Vehicle Stat APIs

Posted by Tyler Freckmann 11 months ago

New vehicle stat API endpoints are available that include data about engine states, fuel percents, odometer values, and engine hours. These endpoints provide three ways of getting vehicle stat data:

API Version: 2019-11-19

Posted by Tyler Freckmann 11 months ago

We've released a new version of the API on 2019-11-19: Trips will now return latitude and longistude if reverse geocoding fails, whereas previously the start and end locations would be empty. This affecte the GET /v1/fleet/trips endpoint.

deprecated

Group ID no longer needed

Posted by Tyler Freckmann about a year ago

Group IDs are no longer required by any API endpoint. Note: group IDs are still accepted to maintain support for legacy integrations, but new integrations should not use group IDs. The API token will encapsulate all identifying information about an organization. Tags should be used for organizing data within an organization.

added

Defect resolution in DVIR APIs

Posted by Tyler Freckmann about a year ago

The DVIRs API now supports defect resolution by included resolved by information on DVIR defects and allowing you to include a list of defects to resolve when creating a new DVIR.

added

Filter Addresses by Tags

Posted by Tyler Freckmann about a year ago

The GET /addresses endpoint now allows you to filter by tags.

added

Date-time fields in custom document templates

Posted by Tyler Freckmann about a year ago

The Documents API now supports date-time fields in custom document templates.

added

Edge detection in machine vision APIs

Posted by Tyler Freckmann about a year ago

Two new fields have been added to the machine vision APIs:

added

Vehicle Location APIs

Posted by Tyler Freckmann about a year ago

New vehicle location API endpoints are available that provide three ways of getting location data:

API Version: 2019-09-30

Posted by Tyler Freckmann about a year ago

We've released a new version of the API on 2019-09-30: Messages are now limited to 2500 characters. This affects the POST /v1/fleet/messages endpoint, which creates new messages. Users will now receive a 400 error if they try to create messages over 2500 characters.

added

Drive time and on-duty time

Posted by Tyler Freckmann about a year ago

The /v1/fleet/drivers/{driver_id}/hos_daily_logs endpoint now includes drive time and on-duty time in daily logs. Additionally, pending carrier edits to daily logs are also now available.