API Reference › Bots — Group Moderation
Bot Powers in All Groups
GET
/bots/{bot_id}/groups/powersThe bot's powers in every group it belongs to, in one fast call.
Act on any Second Life group the bot belongs to, whether or not the group is registered on LifeBots. Second Life enforces group powers: the bot needs the Invite, Eject or Assign Members ability, or the action has no effect. Group, role and avatar ids must be full UUIDs.
Usage
curl "https://api.lifebots.cloud/api/v1/bots/$BOT_ID/groups/powers" \
-H "Authorization: Bearer $ACCESS_TOKEN"Path parameters
| Name | Type | Description |
|---|---|---|
bot_id | UUID | The bot's avatar UUID (agentId from GET /bots). |
Example response
{
"success": true,
"data": {
"result": "OK",
"action": "group_powers",
"groups": [
{
"uuid": "a1b2c3d4-0000-4000-8000-000000000001",
"name": "My Group",
"powers": [
"Invite",
"Eject"
],
"permissions": "Invite, Eject"
}
]
},
"meta": {
"timestamp": "2026-10-02T12:00:00.000Z",
"version": "1.0"
}
} Always check success; for commands the bot carries out, also check data.result. See Responses & errors.