API Reference › Bots — Group Moderation
Bot Powers in a Group
GET
/bots/{bot_id}/groups/{group_id}/powersWhat the bot is allowed to do in one group — Invite, Eject, AssignMember, SendNotices and so on. Fast: one round trip, unlike List Bot Groups. Fails "Bot is not in this group" when it is not a member.
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/$GROUP_ID/powers" \
-H "Authorization: Bearer $ACCESS_TOKEN"Path parameters
| Name | Type | Description |
|---|---|---|
bot_id | UUID | The bot's avatar UUID (agentId from GET /bots). |
group_id | UUID | Group UUID. |
Example response
{
"success": true,
"data": {
"result": "OK",
"action": "group_powers",
"group_uuid": "a1b2c3d4-0000-4000-8000-000000000001",
"group_name": "My Group",
"powers": [
"Invite",
"Eject",
"AssignMember",
"SendNotices",
"ReceiveNotices",
"JoinChat"
],
"permissions": "Invite, Eject, AssignMember, SendNotices, ReceiveNotices, JoinChat"
},
"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.