Lifebots symbol
Lifebots.cloud
OAuth 2.0 API
API Reference › Registered Groups

List Roles

GET/groups/{group_id}/roles

Roles in the group, fetched live from Second Life. Use the ids for invites and role changes.

Groups the user registered on LifeBots — on their own bot or a SharedBot — acted on through the bot that runs each group. Commands fail with GROUP_NOT_ACTIVE unless the group's status is running. For any group the user's own bot is in, registered or not, use Bots — Group Moderation.

Usage

curl "https://api.lifebots.cloud/api/v1/groups/$GROUP_ID/roles" \
  -H "Authorization: Bearer $ACCESS_TOKEN"

Path parameters

NameTypeDescription
group_idUUIDGroup UUID.

Example response

{
  "success": true,
  "data": {
    "result": "OK",
    "action": "list_group_roles",
    "roles": [
      {
        "id": "00000000-0000-0000-0000-000000000000",
        "name": "Everyone"
      },
      {
        "id": "c3e5a1f9-8b72-4d06-9e4a-1f2b3c4d5e6f",
        "name": "Officers"
      }
    ]
  },
  "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.

Lifebots symbol
Lifebots.cloud

Empowering Second Life experiences with intelligent bot automation and seamless group management solutions.

Product
Support
Company
Visit Us

© 2025 - 2026 LifeBots. Made with ❤️. All rights reserved.

LifeBots is not affiliated with Linden Research, Inc., or any of its affiliated entities or products, including, without limitation, Second Life (collectively, “Linden Lab”).

Initializing A New World of Second Life Bots...