Lifebots symbol
Lifebots.cloud
HTTP API
Getting started

Responses & errors

Check result on every response: OK means it worked, anything else means it didn't and resulttext (or message) says why.

Success

With dataType=json
{
  "success": true,
  "result": "OK",
  "resulttext": "IM sent",
  "action": "im"
}

Failure

HTTP 200
{
  "success": false,
  "result": "FAIL",
  "resulttext": "Unable to locate SL Name",
  "action": "im"
}
A command the bot couldn't carry out still answers HTTP 200 — always check result, not just the status code.

Without dataType=json

URL-encoded
result=OK&resulttext=IM%20sent&action=im

Nested values (arrays, objects) don't survive this format — use dataType=json for any command that returns lists.

Errors before the command runs

HTTPresultmessageFix
400ERRORMissing action / botname / secret parameterSend all of them.
401ERRORMissing API key / Invalid API keyCopy the key from the Developer Hub again.
401ERRORInvalid bot credentialsCheck the bot name and its Access Code.
400ERRORInvalid JSON format in request bodyFix the JSON; from LSL, send form-encoded instead.
500FAILInternal server errorTry again later.

Common failures from the bot

resulttextMeaning
Bot not connected on this channelThe bot is offline. Log it in first.
Bot is not connected to a channelThe bot has no hosting slot. Contact support.
Failed to complete command, timed out.The bot didn't answer within 60 seconds.
Request timed outSecond Life didn't answer a lookup in time. Try again.
Bot is at Safe HubYou sent nosafehub=1 and the bot is in a Safe Hub.
Unknown apiType: …The action name is misspelled.
Item not foundThe inventory item UUID is wrong, or the bot hasn't loaded that folder yet.

OK doesn't always mean done

Some Second Life actions are fire-and-forget — the bot sends them and Second Life never confirms. For those, OK means "sent". Each command's Good to know section says when this applies (for example group invites without the right power, payments, and role changes).

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