Skip to content

Get Route

Retrieve a single route record by its ID from Samsara.

getRoute

route

ParameterTypeRequiredDefaultDescription
Route IDstringYes-The ID of the route to retrieve
{
"id": "route_123",
"name": "Morning Delivery Route",
"driverId": "driver_456",
"vehicleId": "vehicle_789",
"notes": "Priority deliveries",
"stops": [
{
"id": "stop_1",
"name": "Customer A",
"scheduledArrivalTime": "2024-01-15T10:00:00Z",
"state": "scheduled"
}
],
"settings": {
"routeStartingCondition": "arriveFirstStop",
"routeCompletionCondition": "arriveLastStop"
},
"externalIds": {}
}
{
"success": false,
"error": "Route not found",
"routeId": "invalid_id"
}
  • Missing API Token: Samsara credential is missing apiToken
  • Route Not Found: Route with specified ID does not exist
  • Permission Denied: API token lacks permission for this operation