Tesla API and Refresh Token Generator

Last updated 11-May-2026

Tesla refresh and API tokens are often required by 3rd party apps such as Teslamate and Home Automation to allow access to your car. This web page allow you to generate these tokens without revealing your Tesla email address or password to us. This is the safest way we know to generate your Tesla token, and is completely free.

How to generate a Tesla Refresh and API token

The current way we recommend generating API and Refresh tokens avoids you having to provide your username and password to us. Please read all the steps before continuing:

  • Ensure you are logged out of Tesla before you start.
  • You will need to use a browser which allows for the "inspect" capabilities. This is typically a web broswer on a PC or Mac, and not a mobile device or iPad. To check, right click on a web page and if you see "Inspect" at the bottom of the pop up options, then all is good. The tokens can be used on any device once generated.
  • Click on the link below titled Tesla Logon which will open a new tab/window for the Tesla Authentication logon page
  • Before you proceed to the next step, right click and click on "Inspect"\. The browser window will show more information on the right.
  • One of the tabs on the right will be "Network" (1 on the image). Click this now. If the screen goes straight to the "Verified Successfully" screen, you need to log out of your Tesla account on this device.
  • Log in using your Tesla credentials, together with any email, text or MFA validation that may be requested.
  • You should get a webpage showing "Verified Successfully". This is normal.
  • From the details present on the right hand side, you want to copy the URL that starts "callback". First click the link, 2 on the diagram, and then you may find it easier to copy the details from the areas marked 3 on the diagram. You only don'#t need to be too accurate, just ensure you start thye copy from before the word "code" and as shwon.
  • Paste this link back into ourwebsite in the box.
  • These links only work once, so if an "Invalid Grant" or other error message appears on our website you will probably need to start again with the Tesla link on our page which should produce the code straight away on subsequent occassions. Then copy the associated URL ontp our webpage.
  • If you want to use a different account name or logon details, you may need to clear the cookies for your browser.
  • We will then get the tokens for the cars on your Tesla account.

Step 1:

Fill out this form: Tesla Logon until you see "Page not found".

Step 2:

Copy the resulting url as shown

Step 3:

Paste the resulting url into the box below:

Note

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.


Optional email address to be sent reservation updates, see below for more details.



Tesla Token code

Tesla Order Progress email

If you want easy access to the additional information about your Tesla order or reservation, simply include your email address above when generating the tokens. If you include an email address, when we detect one or more orders on your account we will automatically check the order status every few hours and notify you of any changes or additions. Changes include the car being moved/driven, a VIN or registration being allocated, a delivery date to the collection hub being set, or changes to your delivery window or delivery date.

The email will include an option to delete the email and the option going forward.

We wish to remind all users that providing access to their Tesla account, either with us or any other 3rd party, does include a small degree of risk. Tesla have changed the API process and commands can not be sent to the car using the tokens generated via this facility, however it does potentially reveal information about yourself and your car. Tesla-info take security seriously and we do not store any personal information beyond the email address and basic details of the car when using this facility. Data including tokens are also encrypted to industry standards. We have been providing services like this for many years.

Tesla info is not affilated or linked to Tesla Inc. and their rights are reserved. We provide this information and other services to assist in the buying of a Tesla and therefore in support of the growth of Tesla. By using our site, you acknowledge that you have read and understand our Privacy and Cookie Policy. Your use of the tesla-info website is subject to these policies and terms. All data is provided on a reasonable endeavours basis but errors and omissions may exist. No data should be relied upon as being accurate and additional checks should be made if the information is material to any purchase or use of the car.