Commands

Wake Up

POST https://owner-api.teslamotors.com/api/1/vehicles/:id/wake_up

Wake up the vehicle.

Path Parameters

NameTypeDescription

:id

integer

The vehicle {id} from the vehicle list

Headers

NameTypeDescription

Authorization

string

Bearer {access_token} from authentication

{
  "response": [
    {
      "id": :id,
      "vehicle_id": :vehicle_id,
      "vin": ":vin",
      "display_name": ":name",
      "option_codes": "AD15,AF02,AH00,APF0,APH2,APPA,AU00,BCMB,BP00,BR00,BS00,BTX4,CC02,CDM0,CH05,COUS,CW02,DRLH,DSH7,DV4W,FG02,FR01,GLFR,HC00,HP00,IDBO,INBPB,IX01,LP01,LT3B,MDLX,ME02,MI02,PF00,PI01,PK00,PMBL,QLPB,RCX0,RENA,RFPX,S02B,SP00,SR04,ST02,SU01,TIC4,TM00,TP03,TR01,TRA1,TW01,UM01,USSB,UTAB,WT20,X001,X003,X007,X011,X014,X021,X025,X026,X028,X031,X037,X040,X042,YFFC,SC05",
      "color": null,
      "tokens": [
        ":token1",
        ":token2"
      ],
      "state": "online",
      "in_service": null,
      "id_s": ":id",
      "calendar_enabled": true,
      "backseat_token": null,
      "backseat_token_updated_at": null
    }
  ],
  "count": 1
}

Unlock Doors

POST https://owner-api.teslamotors.com/api/1/vehicles/:id/command/door_unlock

Unlock doors of the vehicle

Path Parameters

NameTypeDescription

:id

integer

The vehicle {id} from the vehicle list

Headers

NameTypeDescription

Authorization

string

Bearer {access_token} from authentication

{
  "response": {
    "result": true,
    "reason": ""
  }
}

Lock Doors

POST https://owner-api.teslamotors.com/api/1/vehicles/:id/command/door_lock

Lock the doors of the vehicle

Path Parameters

NameTypeDescription

:id

integer

The vehicle {id} from the vehicle list

Headers

NameTypeDescription

Authorization

string

Bearer {access_token} from authentication

{
  "response": {
    "result": true,
    "reason": ""
  }
}

Honk Horn

POST https://owner-api.teslamotors.com/api/1/vehicles/:id/command/honk_horn

Honks the horn of the vehicle once

Path Parameters

NameTypeDescription

:id

integer

The vehicle {id} from the vehicle list

Headers

NameTypeDescription

Authorization

string

Bearer {access_token} from authentication

{
  "response": {
    "result": true,
    "reason": ""
  }
}

Flash Lights

POST https://owner-api.teslamotors.com/api/1/vehicles/:id/command/flash_lights

Flashes the lights of the vehicle once

Path Parameters

NameTypeDescription

:id

integer

The vehicle {id} from the vehicle list

Headers

NameTypeDescription

Authorization

string

Bearer {access_token} from authentication

{
  "response": {
    "result": true,
    "reason": ""
  }
}

Start HVAC System

POST https://owner-api.teslamotors.com/api/1/vehicles/:id/command/auto_conditioning_start

Start vehicle climate control system. The vehicle will automatically determine whether to heat or cool based on set temperature.

Path Parameters

NameTypeDescription

:id

integer

The vehicle {id} from the vehicle list

Headers

NameTypeDescription

Authorization

string

Bearer {access_token} from authentication

{
  "response": {
    "result": true,
    "reason": ""
  }
}

Stop HVAC System

POST https://owner-api.teslamotors.com/api/1/vehicles/:id/command/auto_conditioning_stop

Stop vehicle climate control system.

Path Parameters

NameTypeDescription

:id

integer

The vehicle {id} from the vehicle list

Headers

NameTypeDescription

Authorization

string

Bearer {access_token} from authentication

{
  "response": {
    "result": true,
    "reason": ""
  }
}

Set Temperature

POST https://owner-api.teslamotors.com/api/1/vehicles/:id/command/set_temps?driver_temp=:driver_temp&passenger_temp=:passenger_temp

Set vehicle HVAC temperature

Path Parameters

NameTypeDescription

:id

integer

The vehicle {id} from the vehicle list

Query Parameters

NameTypeDescription

:driver_temp

number

Desired driver temperature in Celsius

:passenger_temp

number

Desired passenger temperature in Celsius

Headers

NameTypeDescription

Authorization

string

Bearer {access_token} from authentication

{
  "response": {
    "result": true,
    "reason": ""
  }
}

Set Charge Limit

POST https://owner-api.teslamotors.com/api/1/vehicles/:id/command/set_charge_limit?percent=:limit_value

Set vehicle charge limit

Path Parameters

NameTypeDescription

:id

integer

The vehicle {id} from the vehicle list

Query Parameters

NameTypeDescription

:limit_value

number

Percentage of charge to set the vehicle to

Headers

NameTypeDescription

Authorization

string

Bearer {access_token} from authentication

{
  "response": {
    "result": true,
    "reason": ""
  }
}

Set Max Range Charge Limit

POST https://owner-api.teslamotors.com/api/1/vehicles/:id/command/charge_max_range

Set vehicle to max charge limit

Path Parameters

NameTypeDescription

:id

integer

The vehicle {id} from the vehicle list

Headers

NameTypeDescription

Authorization

string

Bearer {access_token} from authentication

{
  "response": {
    "result": true,
    "reason": ""
  }
}

Set Standard Charge Limit

POST https://owner-api.teslamotors.com/api/1/vehicles/:id/command/charge_standard

Set vehicle to standard charge limit

Path Parameters

NameTypeDescription

:id

integer

The vehicle {id} from the vehicle list

Headers

NameTypeDescription

Authorization

string

Bearer {access_token} from authentication

{
  "response": {
    "result": true,
    "reason": ""
  }
}

POST https://owner-api.teslamotors.com/api/1/vehicles/:id/command/sun_roof_control?state=:state&percent=:percent

Path Parameters

NameTypeDescription

string

  • open - 100%

  • closed - 0%

  • comfort - 80%

  • vent - 15%

  • move - specify {percent}

POST https://owner-api.teslamotors.com/api/1/vehicles/:id/command/actuate_trunk

Open vehicles trunk or frunk. Call endpoint again to close trunk.

Path Parameters

NameTypeDescription

string

{
  "response": {
    "result": true,
    "reason": ""
  }
}

Remote Start Drive

POST https://owner-api.teslamotors.com/api/1/vehicles/:id/command/remote_start_drive?password=:password

Start vehicle key-less driving mode. The vehicle must be placed in drive within 2 minutes of the response.

Path Parameters

NameTypeDescription

:id

integer

The vehicle {id} from the vehicle list

Query Parameters

NameTypeDescription

:password

string

Password credentials for my.teslamotors.com

Headers

NameTypeDescription

Authorization

string

Bearer {access_token} from authentication

{
  "response": {
    "result": true,
    "reason": ""
  }
}

Open Charge Port

POST https://owner-api.teslamotors.com/api/1/vehicles/:id/command/charge_port_door_open

Opens vehicle charge port. Also unlocks the charge port if it is locked.

Path Parameters

NameTypeDescription

:id

integer

The vehicle {id} from the vehicle list

Headers

NameTypeDescription

Authorization

string

Bearer {access_token} from authentication

{
  "response": {
    "result": true,
    "reason": ""
  }
}

Close Charge Port

POST https://owner-api.teslamotors.com/api/1/vehicles/:id/command/charge_port_door_close

Closes vehicle charge port.

Path Parameters

NameTypeDescription

:id

integer

The vehicle {id} from the vehicle list

Headers

NameTypeDescription

Authorization

string

Bearer {access_token} from authentication

{
  "response": {
    "result": true,
    "reason": ""
  }
}

Start Charging

POST https://owner-api.teslamotors.com/api/1/vehicles/:id/command/charge_start

Starts vehicle charging. Vehicle must be plugged in, have power available, and not at charge limit.

Path Parameters

NameTypeDescription

:id

integer

The vehicle {id} from the vehicle list

Query Parameters

NameTypeDescription

PARAM_NAME

string

PARAM_DESC

Headers

NameTypeDescription

Authorization

string

Bearer {access_token} from authentication

{
  "response": {
    "result": true,
    "reason": ""
  }
}

Stop Charging

POST https://owner-api.teslamotors.com/api/1/vehicles/:id/command/charge_stop

Stop vehicle charging. Vehicle must be charging.

Path Parameters

NameTypeDescription

:id

integer

The vehicle {id} from the vehicle list

Headers

NameTypeDescription

Authorization

string

Bearer {access_token} from authentication

{
  "response": {
    "result": true,
    "reason": ""
  }
}

Upcoming Calendar Entries

POST https://owner-api.teslamotors.com/api/1/vehicles/:id/command/upcoming_calendar_entries

Set upcoming calendar entries

Path Parameters

NameTypeDescription

:id

integer

The vehicle {id} from the vehicle list

Headers

NameTypeDescription

Authorization

string

Bearer {access_token} from authentication

{
  "response": {
    "result": true,
    "reason": ""
  }
}

Set Valet Mode

POST https://owner-api.teslamotors.com/api/1/vehicles/:id/command/set_valet_mode?on=:on&password=:password

Set vehicle valet mode on or off with a PIN to disable it from within the car. Reuses last PIN from previous valet session. Valet Mode limits the car's top speed to 70MPH and 80kW of acceleration power. It also disables Homelink, Bluetooth and Wifi settings, and the ability to disable mobile access to the car. It also hides your favorites, home, and work locations in navigation.

Path Parameters

NameTypeDescription

:id

integer

The vehicle {id} from the vehicle list

Query Parameters

NameTypeDescription

:on

boolean

Enable or disable valet mode

:password

string

Four digit pin for valet mode

Headers

NameTypeDescription

Authorization

string

Bearer {access_token} from authentication

{
  "response": {
    "result": true,
    "reason": ""
  }
}

Reset valet PIN

POST https://owner-api.teslamotors.com/api/1/vehicles/:id/command/reset_valet_pin

Resets vehicle valet PIN

Path Parameters

NameTypeDescription

:id

integer

The vehicle {id} from the vehicle list

Headers

NameTypeDescription

Authorization

string

Bearer {access_token} from authentication

{
  "response": {
    "result": true,
    "reason": ""
  }
}

Speed Limit Activate

POST https://owner-api.teslamotors.com/api/1/vehicles/:id/command/speed_limit_activate

Path Parameters

NameTypeDescription

:id

integer

The vehicle {id} from the vehicle list

Headers

NameTypeDescription

Authorization

string

Bearer {access_token} from authentication

Speed Limit Deactivate

POST https://owner-api.teslamotors.com/api/1/vehicles/:id/command/speed_limit_deactivate

Path Parameters

NameTypeDescription

:id

integer

The vehicle {id} from the vehicle list

Headers

NameTypeDescription

Authorization

string

Bearer {access_token} from authentication

Speed Limit Set Limit

POST https://owner-api.teslamotors.com/api/1/vehicles/:id/command/speed_limit_set_limit

Path Parameters

NameTypeDescription

:id

integer

The vehicle {id} from the vehicle list

Headers

NameTypeDescription

Authorization

string

Bearer {access_token} from authentication

Speed Limit Clear PIN

POST https://owner-api.teslamotors.com/api/1/vehicles/:id/command/speed_limit_clear_pin

Path Parameters

NameTypeDescription

:id

number

The vehicle {id} from the vehicle list

Headers

NameTypeDescription

Authorization

string

Bearer {access_token} from authentication

Last updated