Commands › Appearance & animation
attachments
Objects the bot is wearing (from the region)
Usage
curl -X POST "https://api.lifebots.cloud/api/bot.html" \
-H "Content-Type: application/json" \
-d '{
"action": "attachments",
"apikey": "YOUR_API_KEY",
"botname": "Joe Resident",
"secret": "bot-secret-123",
"dataType": "json"
}' Every request also needs apikey, botname and secret — see Authentication.
Parameters
| Name | Required | Description |
|---|---|---|
skipnamesstring | no | Comma-separated; leave out attachments whose name contains any of these. |
matchnamesstring | no | Comma-separated; keep only names containing one of these. |
matchuuidstring | no | Comma-separated; keep only in-world object UUIDs containing one of these. |
Returns
| Field | Type | Description |
|---|---|---|
attachments | string | One "itemUUID name" line per attachment, separated by newlines. |
Example response
{
"result": "OK",
"total": 2,
"attachments": "5d2d7a1d-0e8e-4f5d-a678-000000000000 Coffee Cup\n7a6b5c4d-0000-4000-8000-00000000000a HUD"
} With dataType=json. A failure has result: "FAIL" and the reason in resulttext — see Responses & errors.
Good to know
- Objects whose details have not loaded yet show as "Unknown".