Permission
read_diagnostics
Request
PathThe vehicle ID of the vehicle you are making a request to.
Response
Array of active diagnostic trouble codes.
curl "https://api.smartcar.com/v2.0/vehicles/{id}/diagnostics/dtcs" \
-H "Authorization: Bearer {token}" \
-X "GET"
{
"activeCodes": [
{
"code": "P302D",
"timestamp": "2024-09-05T14:48:00.000Z"
},
{
"code": "xxxxx",
"timestamp": null
}
...
]
}
Provides a list of active Diagnostic Trouble Codes (DTCs) reported by the vehicle. Currently supporting GM brands including Chevrolet and GMC.
curl "https://api.smartcar.com/v2.0/vehicles/{id}/diagnostics/dtcs" \
-H "Authorization: Bearer {token}" \
-X "GET"
{
"activeCodes": [
{
"code": "P302D",
"timestamp": "2024-09-05T14:48:00.000Z"
},
{
"code": "xxxxx",
"timestamp": null
}
...
]
}
read_diagnostics
curl "https://api.smartcar.com/v2.0/vehicles/{id}/diagnostics/dtcs" \
-H "Authorization: Bearer {token}" \
-X "GET"
{
"activeCodes": [
{
"code": "P302D",
"timestamp": "2024-09-05T14:48:00.000Z"
},
{
"code": "xxxxx",
"timestamp": null
}
...
]
}
Was this page helpful?