Tesla JSON API (Unofficial)
GitHub
Tesla
Search…
Introduction
API Basics
Authentication
Vehicles
Energy Products
Vehicle
State
Commands
Wake
Alerts
Remote Start
Homelink
Speed Limit
Valet Mode
Sentry Mode
Doors
Frunk/Trunk
Windows
Sunroof
Charging
Climate
Media
Sharing
Software Updates
Calendar
Streaming
Autopark/Summon
Option Codes
Energy Products
Overview
Miscellaneous
Endpoints File
Powered By
GitBook
Doors
POST
/api/1/vehicles/{id}/command/door_unlock
Unlocks the doors to the car. Extends the handles on the S and X.
Response
1
{
2
"reason"
:
""
,
3
"result"
:
true
4
}
Copied!
POST
/api/1/vehicles/{id}/command/door_lock
Locks the doors to the car. Retracts the handles on the S and X, if they are extended.
Response
1
{
2
"reason"
:
""
,
3
"result"
:
true
4
}
Copied!
Previous
Sentry Mode
Next
Frunk/Trunk
Last modified
1mo ago
Copy link
Edit on GitHub
Contents
POST /api/1/vehicles/{id}/command/door_unlock
Response
POST /api/1/vehicles/{id}/command/door_lock
Response