Tesla API
  • Tesla API
  • Authentication
    • OAuth
    • User
  • Products
    • List
  • Vehicles
    • List
    • State And Settings
    • Commands
  • Powerwalls
    • State And Settings
    • Commands
  • Energy Sites
    • State And Settings
    • Commands
  • Preferences
    • Device
    • Subscriptions
    • Notifications
  • Logs
    • Diagnostics
    • Logs
  • Codes
    • Model S Options
    • Model X Options
Powered by GitBook
On this page
  • How is this site organized?
  • What Tesla products are supported?
  • What is teslaapi.io?
  • What are the client_id and client_secret values?
  • Is this API official?

Tesla API

NextOAuth

Last updated 4 years ago

How is this site organized?

This site is broken into sections for different API information:

  • Authentication - API commands to generate an {access_token} to communicate with your vehicle.

  • Vehicles - API commands to communicate between your vehicle and your client.

  • Codes - Localized Tesla vehicle option codes for the and

What Tesla products are supported?

  • Tesla Model S

  • Tesla Model 3

  • Tesla Model X

  • Tesla Model Y

What is teslaapi.io?

This is a community of developers who are reverse engineering Tesla's API.

What are the client_id and client_secret values?

Authentication to the Tesla API is done through OAuth. These values were retrieved from somebody's OAuth session and are now being used for API access.

Is this API official?

Absolutely not. These endpoints are a result of reverse engineering Tesla's mobile applications and vehicle software.

Model S
Model X