Get Trailer
Retrieve a single trailer record by its ID from Samsara.
Operation
Section titled “Operation”getTrailer
Resource
Section titled “Resource”trailer
Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| Trailer ID | string | Yes | - | The ID of the trailer to retrieve |
Response
Section titled “Response”Success
Section titled “Success”{ "id": "trailer_123", "name": "Trailer A", "serial": "TRL-001", "licensePlate": "TR-1234", "notes": "53ft dry van", "enabledForMobile": true, "externalIds": { "fleetSystem": "TRL001" }}{ "success": false, "error": "Trailer not found", "trailerId": "invalid_id"}Error Handling
Section titled “Error Handling”- Missing API Token: Samsara credential is missing apiToken
- Trailer Not Found: Trailer with specified ID does not exist
- Permission Denied: API token lacks permission for this operation