Lifebots symbol
Lifebots.cloud
HTTP API
Commands › Avatars & friends

edit_friendship

Set what a friend may see and do

Usage

curl -X POST "https://api.lifebots.cloud/api/bot.html" \
  -H "Content-Type: application/json" \
  -d '{
  "action": "edit_friendship",
  "apikey": "YOUR_API_KEY",
  "botname": "Joe Resident",
  "secret": "bot-secret-123",
  "slkey": "a2e76fcd-9360-4f6d-a924-000000000000",
  "see_online": "1",
  "see_on_map": "0",
  "can_edit": "0",
  "dataType": "json"
}'

Every request also needs apikey, botname and secret — see Authentication.

Parameters

NameRequiredDescription
slkey
UUID
yesFriend's UUID (names are not accepted).
Also accepted as: target
see_online
flag
no1 to let them see when the bot is online.
see_on_map
flag
no1 to let them see the bot on the map.
can_edit
flag
no1 to let them edit the bot's objects.

Example response

{
  "result": "OK"
}

With dataType=json. A failure has result: "FAIL" and the reason in resulttext — see Responses & errors.

Good to know

  • All three rights are replaced at once. A right you leave out, or send as anything but 1, is taken away. Send at least one.
Lifebots symbol
Lifebots.cloud

Empowering Second Life experiences with intelligent bot automation and seamless group management solutions.

Product
Support
Company
Visit Us

© 2025 - 2026 LifeBots. Made with ❤️. All rights reserved.

LifeBots is not affiliated with Linden Research, Inc., or any of its affiliated entities or products, including, without limitation, Second Life (collectively, “Linden Lab”).

Initializing A New World of Second Life Bots...