Users
Endpoints for getting information about the current user
These endpoints provide data on the current user.
GET /api/1/users/me
/api/1/users/me
Get the current user's information.
Response
GET /api/1/users/vault_profile
/api/1/users/vault_profile
This endpoint is a mystery and it's current purpose is unknown, but we know how to decode it. First of all take the base64_data
and decode it. Finally, deserialize the message using the Vault
message from protobuf located at https://github.com/timdorr/tesla-api/blob/master/vault.proto
Response
GET /api/1/users/feature_config
/api/1/users/feature_config
Get the feature configuration for the mobile app.
Response
POST /api/1/users/keys
/api/1/users/keys
Update the name of a (bluetooth) key in all vehicles linked to the account. Refreshed inside the vehicle everytime the "Locks" menu is opened.
kind
and public_key
must be set, everything else only needs to be set if you want to change it.
Parameters
Parameter | Example | Description |
---|---|---|
kind | mobile_device | Must be "mobile_device" |
public_key | 04ed05567b... | The ANSI X9.62/X9.63 representation of the public key that you wish to change (65 bytes long) - as a hex string |
name | Sam's Phone | The name of the key (main text) |
model | iPhone 14 Pro | The model of the key (sub text) |
Response
Last updated