# 🆕 friends

Returns the bot’s friend list.

```csharp
string params = llDumpList2String([
  "action="  + "friends",
  "apikey="  + llEscapeURL(sbApiKey),
  "botname=" + llEscapeURL(sbBotName),
  "secret="  + llEscapeURL(sbBotApiToken)
], "&");

httpReq = llHTTPRequest("https://api.mysmartbots.com/api/bot.html", [HTTP_METHOD,"POST"], params);
```

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

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

## Input

This command has **no additional input parameters**.

```snippet http-api-output-JAwUcmg7i7
friends | A JSON array of the bot’s friends
```