Get Vehicle
Retrieve a single vehicle record by its ID from Samsara.
Operation
Section titled “Operation”getVehicle
Resource
Section titled “Resource”vehicle
Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| Vehicle ID | string | Yes | - | The ID of the vehicle to retrieve |
Response
Section titled “Response”Success
Section titled “Success”{ "id": "281474976710655", "name": "Truck 001", "vin": "1HGBH41JXMN109186", "licensePlate": "ABC-1234", "make": "Ford", "model": "F-150", "year": "2022", "notes": "Primary delivery vehicle", "externalIds": { "fleetSystem": "VEH001" }}{ "success": false, "error": "Vehicle not found", "vehicleId": "invalid_id"}Error Handling
Section titled “Error Handling”- Missing API Token: Samsara credential is missing apiToken
- Vehicle Not Found: Vehicle with specified ID does not exist
- Permission Denied: API token lacks permission for this operation