curl "https://api.smartcar.com/v2.0/vehicles/{id}/{make}/security/trunk" \ -H "Authorization: Bearer {token}" \ -X "POST" \ -H "Content-Type: application/json" \ -d '{"action" : "OPEN"}'
{ "message": "Successfully sent request to vehicle", "status": "success" }
Open or close the trunk of the Tesla vehicle.
tesla
control_trunk
OPEN
CLOSE
Was this page helpful?