Commands › Avatars & friends
getDisplayName
An avatar's display name
Usage
curl -X POST "https://api.lifebots.cloud/api/bot.html" \
-H "Content-Type: application/json" \
-d '{
"action": "getDisplayName",
"apikey": "YOUR_API_KEY",
"botname": "Joe Resident",
"secret": "bot-secret-123",
"uuid": "a2e76fcd-9360-4f6d-a924-000000000000",
"dataType": "json"
}' Every request also needs apikey, botname and secret — see Authentication.
Parameters
| Name | Required | Description |
|---|---|---|
uuidUUID | yes | Avatar UUID. Also accepted as: slkey |
Example response
{
"result": "OK",
"displayName": "Jane ✿"
} With dataType=json. A failure has result: "FAIL" and the reason in resulttext — see Responses & errors.