Commands › Appearance & animation
get_outfits
Saved outfits in My Outfits
Usage
curl -X POST "https://api.lifebots.cloud/api/bot.html" \
-H "Content-Type: application/json" \
-d '{
"action": "get_outfits",
"apikey": "YOUR_API_KEY",
"botname": "Joe Resident",
"secret": "bot-secret-123",
"dataType": "json"
}' Every request also needs apikey, botname and secret — see Authentication.
Parameters
None besides authentication.
Example response
{
"result": "OK",
"action": "get_outfits",
"outfits": [
{
"name": "Casual",
"itemCount": 8,
"uuid": "7c1e9b2a-4d3f-4a8b-9c6d-000000000000"
}
]
} With dataType=json. A failure has result: "FAIL" and the reason in resulttext — see Responses & errors.
Good to know
- Known issue: if My Outfits also holds loose items (not just outfit folders), the list can come back empty.