Introduction
Compatibility
Connection Management
Vehicle Endpoints
- GETAll Vehicles
- POSTBatch
- GETBattery Capacity
- GETBattery Level
- GETCharge Limit
- POSTCharge Limit
- GETCharge Status
- GETDiagnostic Trouble Codes
- GETFuel Tank
- GETLocation
- GETLock Status
- POSTLock & Unlock
- GETOdometer
- GETOil Life
- GETPermissions
- POSTSend Destination
- POSTStart & Stop Charge
- GETService History
- GETSystem Status
- GETTire Pressure
- GETUser
- GETVehicle Attributes
- GETVIN
Make Specific
- About Make Specific
- Audi
- Chevrolet and Cadillac
- BMW and MINI
- Ford and Lincoln
- Nissan
- Tesla
- GETExtended Vehicle Info
- GETUser Access
- GETUser Info
- GETVehicle Status
- GETAlerts
- GETBattery
- GETCharge
- POSTAmperage
- GETCharge Completion Time
- GETCharge Billing Records
- GETCharge Schedule
- POSTCharge Schedule
- GETWattage
- GETVoltage
- GETExterior Temperature
- GETInterior Temperature
- GETCompass
- GETSpeed
- GETCabin Climate
- POSTCabin Climate
- GETDefroster
- POSTDefroster
- GETSteering Heater
- POSTSteering Heater
- GETMigration Status
- GETVirtual Key Status
- POSTCharge Port
- POSTTrunk
- POSTFrunk
- POSTPIN to Drive
- DELPIN to Drive
- GET
Tesla
Alerts
Returns recent alerts from the vehicle.
GET
/
vehicles
/
{id}
/
{make}
/
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"
}
]
}
This endpoint is currently available for tesla
Permission
read_alerts
curl "https://api.smartcar.com/v2.0/vehicles/{id}/{make}/alerts" \
-H "Authorization: Bearer {token}" \
-X "GET"
Request
Path
The vehicle ID of the vehicle you are making a request to.
Response
{
"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?
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"
}
]
}