Tesla JSON API (Unofficial)
GitHubTesla
  • Introduction
  • API Basics
    • Authentication
    • Users
    • Vehicles
    • Energy Products
    • Trip Planner
  • Vehicle
    • State
      • Data
      • Charge State
      • Climate State
      • Drive State
      • GUI Settings
      • Vehicle State
      • Vehicle Config
      • Mobile Enabled
      • Nearby Charging Sites
      • Miscellaneous
    • Commands
      • Wake
      • Alerts
      • Remote Start
      • Homelink
      • Speed Limit
      • Valet Mode
      • Sentry Mode
      • Doors
      • Frunk/Trunk
      • Windows
      • Sunroof
      • Charging
      • Climate
      • Media
      • Sharing
      • Software Updates
      • Calendar
      • Miscellaneous
    • Streaming
    • Autopark/Summon
    • Option Codes
  • Energy Products
    • Overview
      • History
      • State
      • Commands
  • Miscellaneous
    • Endpoints File
Powered by GitBook
On this page
  • POST /api/1/vehicles/{id}/command/speed_limit_set_limit
  • Parameters
  • Response
  • POST /api/1/vehicles/{id}/command/speed_limit_activate
  • Parameters
  • Response
  • POST /api/1/vehicles/{id}/command/speed_limit_deactivate
  • Parameters
  • Response
  • POST /api/1/vehicles/{id}/command/speed_limit_clear_pin
  • Parameters
  • Response
Edit on GitHub
  1. Vehicle
  2. Commands

Speed Limit

POST /api/1/vehicles/{id}/command/speed_limit_set_limit

Sets the maximum speed allowed when Speed Limit Mode is active.

Parameters

Parameter
Example
Description

limit_mph

65

The speed limit in MPH. Must be between 50-90.

Response

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

POST /api/1/vehicles/{id}/command/speed_limit_activate

Activates Speed Limit Mode at the currently set speed.

Parameters

Parameter
Example
Description

pin

1234

The existing PIN, if previously set, or a new 4 digit PIN.

Response

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

POST /api/1/vehicles/{id}/command/speed_limit_deactivate

Deactivates Speed Limit Mode if it is currently active.

Parameters

Parameter
Example
Description

pin

1234

The 4 digit PIN used to activate Speed Limit Mode.

Response

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

POST /api/1/vehicles/{id}/command/speed_limit_clear_pin

Clears the currently set PIN for Speed Limit Mode.

Parameters

Parameter
Example
Description

pin

1234

The 4 digit PIN used to activate Speed Limit Mode.

Response

{
  "reason": "",
  "result": true
}
PreviousHomelinkNextValet Mode

Last updated 3 years ago