# Samsara API Documentation

This is the complete API documentation for connecting to the Samsara API using MindCloud's Universal API.

MindCloud offers one normalized API to access 3,400+ apps from a single place. It centralizes authentication and normalizes app APIs so they are easier and more consistent to use.

## Quickstart

1. A **MindCloud account** — sign in or create an account at [MindCloud](https://app.mindcloud.co).
2. A **MindCloud API Key** — create one in [API Keys](https://app.mindcloud.co/user/api-keys). Keep it on your server.
3. At least one **Samsara connection** — create or choose one in [Connections](https://app.mindcloud.co/credentials). Note its `connectionId`.

```text
POST https://connect.mindcloud.co/v2/universal/apps/samsara/actions/{actionSlug}/run
```

## Samsara actions

- POST `create-driver` Create Driver
- GET `get-address` Get Address
- GET `get-driver` Get Driver
- GET `get-equipment` Get Equipment
- GET `get-hos-clocks` Get HOS Clocks
- GET `get-organization` Get Organization
- GET `get-tag` Get Tag
- GET `get-trailer` Get Trailer
- GET `get-user` Get User
- GET `get-vehicle` Get Vehicle
- GET `get-vehicle-locations` Get Vehicle Locations
- GET `get-vehicle-stats` Get Vehicle Stats
- GET `list-addresses` List Addresses
- GET `list-assets` List Assets
- GET `list-driver-vehicle-assignments` List Driver-Vehicle Assignments
- GET `list-all-drivers` List Drivers
- GET `list-equipment` List Equipment
- GET `list-routes` List Routes
- GET `list-all-tags1` List Tags
- GET `list-trailers` List Trailers
- GET `list-user-roles` List User Roles
- GET `list-users` List Users
- GET `list-all-vehicles` List Vehicles
- GET `stream-dvir-defects` Stream DVIR Defects
- GET `stream-dvirs` Stream DVIRs
- PATCH `update-driver` Update Driver
