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

External IDs in /v1/fleet/vehicles/stats

Posted by Tyler Freckmann about a year ago

The /v1/fleet/vehicles/stats endpoint now returns information on external IDs.

added

Drivers APIs

Posted by Tyler Freckmann about a year ago

We've released new endpoints to manage driver accounts via API. Now you can programmatically update driver information, such as driver password, in order to keep your driver records up-to-date.

added

Routes in /v1/fleet/locations

Posted by Tyler Freckmann about a year ago

The /v1/fleet/locations endpoint now returns a list of all active routes that the vehicle is traveling on.

added

Odometer in Routes APIs

Posted by Tyler Freckmann about a year ago

The routing APIs now include odometer_start_meters and odometer_end_meters to give you more visibility into distance traveled by a given vehicle.

added

Co-drivers in Trips API

Posted by Tyler Freckmann about a year ago

The trips API now includes information about co-driving passengers during a given driving segment.

added

Trailer Assignments API

Posted by Tyler Freckmann about a year ago

Fetch trailer assignment data using the new trailer assignment API.

API Version: 2019-02-22

Posted by Tyler Freckmann about a year ago

We've released a new version of the API on 2019-02-22: If there is no value for a field in the Drivers object, then the Driver object will not show the given field. Previously, this field would be visible with a null value. You can upgrade your API token on your admin dashboard to receive this change.

added

Odometer in /v1/fleet/locations

Posted by Tyler Freckmann about a year ago

The /v1/fleet/locations endpoint now returns information about the vehicle odometer.

added

External IDs

Posted by Tyler Freckmann about a year ago

You can now assign custom external identifiers for drivers and vehicles within Samsara. External IDs are customer-specified key-value pairs that allow you to grab Samsara objects.

added

Pagination on /v1/fleet/list

Posted by Tyler Freckmann about a year ago

We have released pagination support for the APIs that provide multiple resources. This is now available on the /v1/fleet/list endpoint, and we will continue to add pagination support to all our long-resourced endpoints.