curl "https://api.smartcar.com/v2.0/vehicles/{id}/{make}/alerts" \
-H "Authorization: Bearer {token}" \
-X "GET"
{
"alerts" : [
{
"name": "Name_Of_The_Alert",
"dateTime": "2022-07-10T16:20:00.000Z",
"audience": [
"service-fix",
"customer"
],
"userText": "additional description text"
}
]
}
Returns recent alerts from the vehicle.
curl "https://api.smartcar.com/v2.0/vehicles/{id}/{make}/alerts" \
-H "Authorization: Bearer {token}" \
-X "GET"
{
"alerts" : [
{
"name": "Name_Of_The_Alert",
"dateTime": "2022-07-10T16:20:00.000Z",
"audience": [
"service-fix",
"customer"
],
"userText": "additional description text"
}
]
}
tesla
read_alerts
curl "https://api.smartcar.com/v2.0/vehicles/{id}/{make}/alerts" \
-H "Authorization: Bearer {token}" \
-X "GET"
{
"alerts" : [
{
"name": "Name_Of_The_Alert",
"dateTime": "2022-07-10T16:20:00.000Z",
"audience": [
"service-fix",
"customer"
],
"userText": "additional description text"
}
]
}
Was this page helpful?