Lifebots symbol
Lifebots.cloud
OAuth 2.0 API
API Reference › Bots — Chat & Messaging

Send IM

POST/bots/{bot_id}/im

Send an instant message to an avatar.

Scopebots:chat · older apps: write:bots

Usage

curl -X POST "https://api.lifebots.cloud/api/v1/bots/$BOT_ID/im" \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "slname": "Jane Resident",
    "message": "Hello from the API!"
  }'

Path parameters

NameTypeDescription
bot_idUUIDThe bot's avatar UUID (agentId from GET /bots).

Body (JSON)

NameTypeRequiredDescription
slnamestringyesAvatar UUID or "First Last" name.
messagestringyesMessage text.

Example response

{
  "success": true,
  "data": {
    "result": "OK"
  },
  "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

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