GET
/
v2.0
/
vehicles
/
{id}
/
service
/
history
curl "https://api.smartcar.com/v2.0/vehicles/{id}/service/history" \
-H "Authorization: Bearer {token}" \
-X "GET"
{
      "serviceId": null,
      "odometerDistance": 46047.22,
      "serviceDate": "2023-06-28T22:21:41.583Z",
      "serviceTasks": [
            {
            "taskId": "3262",
            "taskDescription": "Service Task 0"
            },
            {
            "taskId": "3041",
            "taskDescription": null
            },
            {
            "taskId": null,
            "taskDescription": null
            }
      ],
      "serviceDetails": [
            {
            "type": "Service Details Type 0",
            "value": "Service Details Value 0"
            },
            {
            "type": "Service Details Type 1",
            "value": null
            }
      ],
      "serviceCost": {
            "totalCost": null,
            "currency": null
      }
}
The Vehicles API v2.0 will be deprecated by Q3 of 2026. We recommend migrating to the latest version as soon as possible to ensure continued support and access to new features.

Permission

read_service_history

Request

Path
id
string
required
The vehicle ID of the vehicle you are making a request to.

Response

serviceID
string | null
A unique identifier of the service record.
serviceDate
timestamp | null
The date and time the vehicle was serviced
odometerDistance
string | null
The odometer of the vehicle at time of service in kilometers.
Additional service details. An overview of service costs.