Lifebots symbol
Lifebots.cloud
HTTP API
Commands › Appearance & animation

wear_outfit

Put on a saved outfit by name

Usage

curl -X POST "https://api.lifebots.cloud/api/bot.html" \
  -H "Content-Type: application/json" \
  -d '{
  "action": "wear_outfit",
  "apikey": "YOUR_API_KEY",
  "botname": "Joe Resident",
  "secret": "bot-secret-123",
  "outfitName": "Casual",
  "dataType": "json"
}'

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

Parameters

NameRequiredDescription
outfitName
string
yesOutfit folder name in My Outfits (exact match first, then partial).
Also accepted as: outfit_name

Example response

{
  "result": "OK",
  "resulttext": "Wore 8 items from folder",
  "totalItems": 8
}

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

Good to know

  • If the name is empty or missing, the FIRST outfit is worn. Always send a name.
  • Replaces the current outfit. On failure the response lists availableOutfits.
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...