Commands › Avatars & friends
avatar_info
An avatar's profile
Usage
curl -X POST "https://api.lifebots.cloud/api/bot.html" \
-H "Content-Type: application/json" \
-d '{
"action": "avatar_info",
"apikey": "YOUR_API_KEY",
"botname": "Joe Resident",
"secret": "bot-secret-123",
"avatar": "a2e76fcd-9360-4f6d-a924-000000000000",
"dataType": "json"
}' Every request also needs apikey, botname and secret — see Authentication.
Parameters
| Name | Required | Description |
|---|---|---|
avatarUUID | yes | Avatar UUID (names are not accepted). Also accepted as: target, slkey |
Returns
| Field | Type | Description |
|---|---|---|
about, born | string | Profile text and birth date. |
online, identified, transacted, mature, publish_web | 0 / 1 | Profile flags. |
image, first_life_image, partner | UUID | Profile picture, first life picture and partner. |
Example response
{
"result": "OK",
"about": "Builder and DJ",
"born": "1/15/2008",
"identified": 1,
"image": "b1c2d3e4-0000-4000-8000-000000000001",
"first_life_image": "00000000-0000-0000-0000-000000000000",
"first_life_text": "",
"mature": 0,
"online": 1,
"partner": "00000000-0000-0000-0000-000000000000",
"publish_web": 0,
"transacted": 1,
"url": ""
} With dataType=json. A failure has result: "FAIL" and the reason in resulttext — see Responses & errors.