Last updated 03-Nov-2023
Tesla refresh and API tokens are often required by 3rd party apps to allow access to your car. This web page allow you to generate these tokens without providing you Tesla email address or password to us. This is the safest way we know to generate a your Tesla tokens and is completely free.
Tesla are changing the way tokens work and as a result out token generation tool may well fail. We have applied for a license to continue to generate tokens but this has not yet been granted by Tesla
The current way we recommend generating API and Refresh tokens is a little messy but avoids you having to give us your username and password. Please read all the steps before continuing:
Fill out this form: Tesla Logon until you see "Page not found".
Copy the resulting url as shown
Paste the resulting url into the box below:
It is important not to refresh our web page, if you do you may need to close the Tesla logon web page and start again. After you have submitted the Tesla url, it can take a several seconds for us to create the Tokens, please be patient.
The use of the Tesla API has been made more difficult asa number of criteria need to be met before a command can be successfully executed. The API tokens used to last for 30 days, Tesla have reduced this to 8 hours. The car Id needs to be identified and specified. And the car needs to be awake before a command can be executed. Rather than multiple requests and token exchanges, we have created a simple, secure API that takes all these various steps, all you need to do is provide the refresh token and the request as part of the secure call.
The beauty of these API URLs is that they can be included in an Apple shortcut or as part of some other automation. And best of all, it's free.
For more information, see our guide to Tesla automation.
Please be careful with who you share your tokens with. These given people the ability to locate, open, and potentially drive your car without your permission.
If at any time you feel the security of yours, ours or any third party that has ever had your details has been compromised or your token leaked, visit tesla.com and change your Tesla password.
Ways you can support tesla-info