Tesla API: 3 easy steps to create your own

Easily create a Tesla API app to use on Teslamate, HomeAssistant or more for free: $10 off every month with no credit card required.

1. Create a Tesla developer account

You must create a Tesla developer account and submit a new application.

1. Register as a Tesla developer with your Tesla account


2. Submit a “New Request”from the dashboard

Well done, you’re ready to create your application.

2. Create your own Tesla API (6 easy steps)

MyTeslamate provides you with all the necessary endpoints to facilitate the creation of Tesla API Application.
Then, we’ll be able to use your Tesla API Application in your Teslamate, Home Assistant or anywhere.

1. Link your application with your profile


2. Fill Application name, description and purpose of Usage. You can say what you want.


3. Open a tab on https://app.myteslamate.com/tesla to copy your own URL(s)


4. Paste URLs on according fields.
Only include my.home-assistant.io if you think you will use it.


5. Check (all) scopes to allow in this API application


6. Skip and Submit (do not register Credit Cart!)

You can keep the Client ID and Client Secret because you’ll need them later…

Great, you created your first Tesla API Application! You should receive a validation email from Tesla. Now you need to register this application to be able to use it.

3. Register this application

You must now register your application and log in one time the use it:

1. On your own API page, click on “Register my application”


Run the script to easily register your application and generate credentials from your computer and share your secret only with Tesla.

You can view code on this GitHub repository. Feel free to improve it.


3. Execute the script. At the step 3, you need to click on login link to get the code to paste from MyTeslamate

After Tesla login, the code is displayed in the green block.


3. This is the end of the script, you now can copy/paste your new tokens

You’re now using your own Tesla API directly for free!

4.Usage

You can watch your usage on the Tesla Developer Website.

Go to the Tesla API dashboard, and control costs. Disclaimer: you never should as much as this!


You can use your own API from your self-hosted Teslamate, evcc, Home Assistant, etc.

Also, you can log in MyTeslamate with your Tesla account to use our proxies via our Fleet page. You will be able to send commands in a minute to your device(s)!

More from the MyTeslamate Blog

Tesla Telemetry Alerts Page in MyTeslamate

We’re excited to announce a brand-new feature in MyTeslamate: a dedicated page that lists all possible telemetry alerts detected from your Tesla.

Tesla API: 3 easy steps to create your own

Easily create a Tesla API app to use on Teslamate, HomeAssistant or more for free: $10 off every month with no credit card required.

Guest Mode: Simplified Management for Your Tesla Fleet

With Guest Mode, managing your Tesla fleet has never been easier, making it accessible for everyone, regardless of how many vehicles you have. Enjoy the peace of mind that comes with secure and controlled access!

Tesla Fleet API for free

Tesla announced the pricing of their official API: 10$ monthly discount on API usage, no credit card required... Setup your own Tesla API to get it or call Fleet API now via our proxy:

Your own API

An easy process to create a free Tesla API Application... and Tesla offers you $10/month!

Our proxy

Call “Commands” and get “Telemetry” without having to install and manage these resources.

en_USEN