Lifebots symbol
Lifebots.cloud
OAuth 2.0 API
Getting started

OAuth API

Build apps that work with other people's LifeBots bots. A user clicks “Connect with LifeBots”, approves what your app may do, and your app gets a token to act on their bots — without ever seeing their password, bot secret or API key.

Which API should I use?

OAuth API (this page)HTTP API
Built forApps that serve many LifeBots usersControlling your own bots
Sign-inThe user approves your app onceYou paste your API key and bot secret
AccessOnly the scopes the user approved; they can revoke any timeEverything the key allows
StyleREST + JSONOne URL, action= parameter

Only automating your own bots? The HTTP API is quicker to set up.

How it works

  1. Register your app once, choosing the scopes it needs. Register an app →
  2. Send the user to LifeBots to sign in and approve those scopes.
  3. Swap the returned code for an access token from your app. Authorization flow →
  4. Call the API with the token: list the user's bots, make them talk, move, moderate groups, and get their events by webhook. Making requests →

What you can do

BotsList bots, read status and location, log them in and out.
ChatIMs, local chat, group chat and notices, dialog replies.
MovementTeleport, walk, fly, sit, stand.
GroupsInvite, eject and set roles in any group the bot is in.
InventoryList, give and accept items; wear outfits.
EstateKick, ban, restart and broadcast, for estate-manager bots.
MoneyRead the balance and pay avatars.
WebhooksReceive IMs, invites, payments and more as they happen.

Base URLs

Authorize (user's browser)https://lifebots.cloud/oauth/authorize
Tokenhttps://api.lifebots.cloud/api/v1/oauth/token
APIhttps://api.lifebots.cloud/api/v1

Good to know

  • Bots, avatars, groups, roles and items are identified by Second Life UUIDs (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx). A bot's id is its avatar UUID.
  • Commands are carried out by the bot inside Second Life, so the bot must be online. Check data.result as well as success.
  • The user who approves must have a verified LifeBots account and be in their own account (not switched into another account they manage).
  • Users can revoke your app at any time from their Account Settings; your token then stops working.

Use the menu on the left, or start typing to filter. Every endpoint has its own page with parameters, cURL and JavaScript examples, and an example response.

Lifebots symbol
Lifebots.cloud

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

Product
Support
Company
Visit Us

© 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...