POST
/
vehicles
/
{id}
/
charge
curl "https://api.smartcar.com/v2.0/vehicles/{id}/charge" \
    -H "Authorization: Bearer {token}" \
    -X "POST" \
    -H "Content-Type: application/json" \
    -d '{"action": "START"}'
    {
        "message": "Successfully sent request to vehicle",
        "status": "success"
    }   

Permission

control_charge

Request

Path

id
string
required

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

Body

action
string
required

START or STOP the vehicle charging.

Response

status
string

If the request is successful, Smartcar will return “success”.

message
string

If the request is successful, Smartcar will return a message.

Notes

Ford and Lincoln
Issuing a start command while the vehicle has a schedule in place for it’s current charging location will result in the vehicle charging to 100%.

Please see charge schedule by location for details on setting a charge limit with preferred charging times or clearing schedules.

Nissan
Currently only START charge commands are supported. See Set Charge Schedule for details on setting a charge schedule for Nissan vehicles.