GET

/v2.0/vehicles/{id}/{make}/charge/schedule

This endpoint is currently available for TESLA

Permission

read_charge

Request

Path

idrequired
string

The vehicle id of the vehicle you are making a request to.

makerequired
string

The make of the vehicle you are making a request to.

curl "https://api.smartcar.com/v2.0/vehicles/{id}/{make}/charge/schedule" \
-H "Authorization: Bearer {token}" \
-X "GET"

Response

departureTime
object

The departure time configuration for the charging schedule.

startTime
object

The start time configuration for the charging schedule.

{
  "departureTime": {
    "enabled": false,
    "time": null
  },
  "startTime": {
    "enabled": true,
    "time": "18:30"
  }
}