Authentication
POST /api/login/Basic
/api/login/Basic
Login and retrieve a Local Tesla API token. Token will need to be used as a Bearer Token on all Local API requests.
Fields
Field | Type | Example | Description |
---|---|---|---|
username | String, required | customer | The login type. |
String, required | elon@tesla.com | The email for the Tesla account. | |
password | String, required | mySolarSystem | The password for the Tesla account. |
Request Body
Response Body
Last updated