This is unofficial documentation of the Tesla Model S JSON API used by the iOS and Android apps. It features functionality to monitor and control the Model S remotely.
/oauth/token
Get an Access Token
Performs the login. Takes in an plain text email and password, matching the owner's login information for https://my.teslamotors.com/user/login.
Returns a access_token
which is passed along as a header with all future requests to authenticate the user.
You must provide the Authorization: Bearer {access_token}
header in all other requests.
The current client ID and secret are available here
grant_type | string | The type of oAuth grant. Always "password" | password | |
client_id | string | The oAuth client ID | abc | |
client_secret | string | The oAuth client secret | 123 | |
string | The email for my.teslamotors.com | elon@teslamotors.com | ||
password | string | The password for my.teslamotors.com | edisonsux |
Content-Type: application/json
name | string | Apiary |
username | string | pavan | ||
id | number | Id of the user | 5 | |
address | object | The address of the user | { } | |
array | array | array description |
| |
inline array | array | desc |
| |
multilined description | string | some dummy text and it continue there and will end there |