Developers
HTTP API
Last updated Dec 1, 2026
FluxBots has a public HTTP API for LSL and your own servers. Calls queue a job on the worker. A 200 means the job was accepted, not that Second Life has finished it yet.
Base URL: https://fluxbots.net/api/v1
- Group service API (shared avatar, tenant key). Each call has a full LSL script.
- Full bot API (your avatar, per-bot key). Each call has a full LSL script.
- Vendor webhooks (CasperVend ANS and CasperLet).
What do you want to do?
Pick the call, then open the page for fields, curl, and a drop-in LSL script. Opening these URLs in a browser without a key will fail. They are API paths, not web pages.
- Invite someone: Group service POST /group/invite. Full bot POST /bots/{id}/invite. Parcel visitors: pair the inviter (no API key in the prim).
- Send an IM: Full bot only. POST /bots/{id}/im. Group service has no IM call.
- Send a notice: Group service POST /group/notice. Full bot POST /bots/{id}/notice.
- Local chat: Full bot POST /bots/{id}/say (
normal,whisper, orshout). - Eject: Group service POST /group/eject. Full bot POST /bots/{id}/eject.
- Group chat: Group service POST /group/group-chat. Full bot POST /bots/{id}/group-chat.
- Is it online?: Group service GET /group/status. Full bot GET /bots/{id}/status.
- Pay L$ from the bot: Full bot POST /bots/{id}/pay.
- Land / estate status: Full bot GET /bots/{id}/land/status.
- Parcel eject / access: Full bot POST /bots/{id}/parcel/* (not estate kick/ban).
- Estate kick / ban / send-home: Full bot POST /bots/{id}/estate/* (needs estate manager).
- Did my job finish?: GET /jobs/{id} (bot key or group service key, scoped).
- Wear an outfit: Full/Lite bot POST /bots/{id}/wear.
- Give inventory: Full/Lite bot POST /bots/{id}/give.
- Set Linden home: Full bot POST /bots/{id}/set-home.
Which key
Group service: one tenant key on the Group service page. It is not tied to a bot id. Every call must send group_uuid. Do not put this key in a public inviter. Pair the official inviter instead.
Full bot: one key per bot on that bot's API page. The bot id is in the URL (/bots/{id}/...). That key cannot call another bot, and it cannot call /group/*.
Rotate a key any time. The old value stops working immediately.
Auth
Send the key on every request. Header is preferred:
Header
X-Api-Key: fb_your_key_hereAuthorization: Bearer fb_your_key_here also works. A query string ?apikey= is accepted for quick tests. Do not put keys in chat, notices, or public prim descriptions.
JSON
POST bodies are JSON. Set Content-Type: application/json. UUIDs are the usual 8-4-4-4-12 hex strings. Avatar names are First Last.
The curl samples break lines with ^ (Windows cmd). On macOS or Linux use a backslash, or paste each command as one line.
Success for actions looks like:
Example response
{
"ok": true,
"job_id": 1842
}Poll the panel job log, or wait for the worker. There is no public "job status" URL.
Errors
- 401 missing or invalid API key.
- 403 wrong product. A Group service key on
/bots/{id}returnsUse /api/v1/group/* with this key. - 422 validation or the group is still pending. Read
message. - 429 too many pairing attempts from one IP (pairing only).
- 402 the group is unpaid (paired inviter).
Shared avatars: 30 invites per hour and 5,000 messages per SLT day (a notice costs one message per member). Full bots share a 5,000 message pool per owner, same 30 invites per hour per bot.
LSL
Every endpoint page below is a complete script: constants at the top, touch, and http_response. Curl, JSON, and LSL sit in collapsed blocks. Open the one you need, paste into a new script, fill the constants, drop it in a prim. Owner-only examples stay owner-only. Do not sell a prim that still has your API key in it.
LSL (drop in a prim)
string API_BASE = "https://fluxbots.net/api/v1";
string API_KEY = "fb_PASTE_KEY_HERE";
key gHttp;
default
{
touch_start(integer n)
{
string url = API_BASE + "/group/status";
gHttp = llHTTPRequest(url, [
HTTP_METHOD, "GET",
HTTP_CUSTOM_HEADER, "X-Api-Key", API_KEY
], "");
}
http_response(key id, integer status, list meta, string body)
{
if (id != gHttp) return;
llOwnerSay("HTTP " + (string)status + ": " + body);
}
}What this key is not for
Your API key is only for the public /api/v1 routes documented here (group service, full bot, and job status). Do not call worker endpoints or the Discord interactions URL from your scripts. Those are FluxBots internals.
Pay for groups and bots on Billing in the dashboard, or at the FluxBots HQ L$ terminal. You do not script payment yourself.