# keys2names

Returns avatar Second Life names in bulk by their UUIDs.

```csharp
// See "LSL Helper Functions" page for this function
smartbotsAPI("keys2names", [
  "uuids", "417732f0-a100-4e2d-a9bf-e381cfd12c3a,4d9ce772-d3ee-4cce-9555-bfb06ffcb228"
]);
```

```snippet http-api-variables-OmJyUigTgO
```


:::info
This API command applies only for **Standard bots**.

:::

```snippet http-api-input-basic-parameters-5FcVlaJbq0 action="keys2names"
```

```snippet http-api-input-q5yvAagqsZ
uuids | yes | The UUIDs of the avatars you want to retrieve names for, separated by comma.
```

```snippet http-api-output-JAwUcmg7i7
names | The list of uuids and corresponding names, see example response below.
```

# Return value

The command returns the Second Life names associated with the specified UUIDs.

# Example

**Requesting avatar’s Second Life names by UUIDs:**

```
https://www.mysmartbots.com/api/bot.html?action=keys2names&uuids=417732f0-a100-4e2d-a9bf-e381cfd12c3a,4d9ce772-d3ee-4cce-9555-bfb06ffcb228
```

**Result:**

```json
{
  "action":"keys2names",
  "names":{
    "4d9ce772-d3ee-4cce-9555-bfb06ffcb228":"Alexander Pixels",
    "417732f0-a100-4e2d-a9bf-e381cfd12c3a":"cuteguide Resident"
  },
  "result":"OK"
}
```