What is this?
This is Postman collection for Tesla API (unoficial).
You can find Tesla API details at the following URL.
Notes
If you use this API, This API have to set Tesla account email and password, Also the access token for this API.
You can get Access Token by this postman collection, However this access token can many control your tesla's functions.
Access Tokens can be expired by changing your Tesla account password.
How to use Tesla API Postman Collection
Import Postman collection and Environment
-
Download and register for Postman.
-
Choose File | Import ....
-
Select Import From Link.
-
Paste the following two URLs and choose Import after each.
https://github.com/sugimomoto/TeslaAPIPostmanCollection/raw/master/Tesla%20API%20Postman%20Collection%20(Unofficial).postman_collection.json
https://github.com/sugimomoto/TeslaAPIPostmanCollection/raw/master/Tesla%20API%20Environment.postman_environment.json
Set up Environment and Access Token
-
Choose the No environment drop down in top right corner.
-
Select Tesla API environment.
- Choose the eye icon to the right and then choose Edit.
Enter your Tesla Login Account email and password. Also, Enter Client Id and Client Secret for Tesla App.
Client Id and Client Secret are at the following URL.
- Then, Choose oauth/Get Access Token request. Click SEND buttone and you can get access token from Tesla API.
- Enter this access token at your Tesla API environment.
You are now up and running with the Tesla API collections.
By the way, Alomost requests have required your Tesla Id. You can find Id at Vehicles or Products Endpoint so you should request this endpoint first.
Enjoy your Tesla API life!