Commands › Appearance & animation
wear_add
Add an item to the outfit without replacing anything
Usage
curl -X POST "https://api.lifebots.cloud/api/bot.html" \
-H "Content-Type: application/json" \
-d '{
"action": "wear_add",
"apikey": "YOUR_API_KEY",
"botname": "Joe Resident",
"secret": "bot-secret-123",
"uuid": "5d2d7a1d-0e8e-4f5d-a678-000000000000",
"dataType": "json"
}' Every request also needs apikey, botname and secret — see Authentication.
Parameters
| Name | Required | Description |
|---|---|---|
uuidUUID | yes | Inventory item UUID (not an asset UUID). Also accepted as: itemId |
Example response
{
"result": "OK",
"itemName": "Red Jacket",
"resulttext": "Added Red Jacket to outfit"
} With dataType=json. A failure has result: "FAIL" and the reason in resulttext — see Responses & errors.
Good to know
- Clothing layers on top; objects are added alongside what is already on the same point. The item must already be loaded in the bot's inventory, or the call fails "Item not found".