# Users

These endpoints provide data on the current user.

## GET `/api/1/users/me`

Get the current user's information.

### Response

```json
{
  "email": "elon@tesla.com",
  "full_name": "Elon Musk",
  "profile_image_url": "https://vehicle-files.prd.euw1.vn.cloud.tesla.com/profile_images/{IMG}.jpg"
}
```

## GET `/api/1/users/vault_profile`

{% hint style="info" %}
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>
{% endhint %}

### Response

```json
{
  "vault": "base64_data"
}
```

## GET `/api/1/users/feature_config`

Get the feature configuration for the mobile app.

### Response

```json
{
  "signaling": {
    "enabled": true,
    "subscribe_connectivity": false
  }
}
```

## POST `/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

```json
{
  "response": true
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://tesla-api.timdorr.com/api-basics/users.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
