Commands › Inventory
teleport_landmark
Teleport to a landmark in inventory
Usage
curl -X POST "https://api.lifebots.cloud/api/bot.html" \
-H "Content-Type: application/json" \
-d '{
"action": "teleport_landmark",
"apikey": "YOUR_API_KEY",
"botname": "Joe Resident",
"secret": "bot-secret-123",
"uuid": "5d2d7a1d-0e8e-4f5d-a678-000000000000",
"dataType": "json"
}' Every request also needs apikey, botname and secret — see Authentication.
Parameters
| Name | Required | Description |
|---|---|---|
uuidUUID | yes | Landmark inventory item UUID. Also accepted as: itemId |
Example response
{
"result": "OK",
"resulttext": "Teleported to landmark: Home"
} With dataType=json. A failure has result: "FAIL" and the reason in resulttext — see Responses & errors.
Good to know
- Waits until the teleport finishes. The item must already be loaded in the bot's inventory; list the folder first if the bot has only just logged in.