Tesla
Charge Schedule
Returns the charging schedule of a vehicle. The response contains the start time and departure time of the vehicle's charging schedule.
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"
}
}
curl "https://api.smartcar.com/v2.0/vehicles/{id}/{make}/charge/schedule" \
-H "Authorization: Bearer {token}" \
-X "GET"
{
"departureTime": {
"enabled": false,
"time": null
},
"startTime": {
"enabled": true,
"time": "18:30"
}
}