Lifebots symbol
Lifebots.cloud
HTTP API
Getting started

HTTP API

Control your own bots with one simple request: send an action, your API key and the bot's secret to a single URL. Works from any language — including LSL scripts inside Second Life.

The endpoint

POST https://api.lifebots.cloud/api/bot.html

Your first request

Check that a bot is online:

curl -X POST "https://api.lifebots.cloud/api/bot.html" \
  -H "Content-Type: application/json" \
  -d '{
  "action": "status",
  "apikey": "YOUR_API_KEY",
  "botname": "Joe Resident",
  "secret": "bot-secret-123",
  "dataType": "json"
}'
Response
{
  "result": "OK",
  "status": "ONLINE",
  "online": "1",
  "slname": "Joe Resident",
  "uuid": "a2e76fcd-9360-4f6d-a924-000000000000",
  "location": "Sandbox Island/128.42/127.9/25.03"
}

Which API should I use?

HTTP API (this page)OAuth API
Built forYour own botsApps used by many LifeBots users
Sign-inYour API key + the bot's secretEach user approves your app
Works from LSLYesNot practical
StyleOne URL, action=REST + JSON

Building for other people's bots? See the OAuth API.

What you can do

Bot & webhooksLog the bot in and out, check it is online, and register webhooks for its events. (5)
Chat & messagesIMs, local chat, typing indicators, script dialogs and teleport offers. (6)
MovementTeleport, walk, steer, fly and sit. Coordinates are region-local metres. (18)
Avatars & friendsLook up names and profiles, manage friends, and track avatars. (12)
GroupsAny group the bot is in — invite, eject, roles, chat and notices. The bot needs the matching group powers. (17)
InventoryBrowse, give, organise and create items, notecards and scripts. (26)
Appearance & animationOutfits, attachments, animations, gestures and sounds. (22)
ObjectsFind, touch and take objects; see who is nearby. (6)
MoneyBalance and payments. (3)
ParcelsParcel details and ejecting avatars from land the bot manages. (2)
Region & estateRegion info, and estate-manager actions: kick, ban, restart, return, broadcast. (8)

Next steps

  1. Get your API key and the bot's secret
  2. Learn how to send parameters — one rule (send flags as 1) saves a lot of debugging
  3. Handle responses and errors
  4. Browse the 125 commands
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...