Commands › Movement
sit
Sit on an object or the ground
Usage
curl -X POST "https://api.lifebots.cloud/api/bot.html" \
-H "Content-Type: application/json" \
-d '{
"action": "sit",
"apikey": "YOUR_API_KEY",
"botname": "Joe Resident",
"secret": "bot-secret-123",
"uuid": "9f8e7d6c-5b4a-4321-8fed-000000000000",
"dataType": "json"
}' Every request also needs apikey, botname and secret — see Authentication.
Parameters
| Name | Required | Description |
|---|---|---|
uuidUUID | yes | Object to sit on, or GROUND, or NONE to stand up. |
Example response
{
"success": true,
"result": "OK",
"resulttext": "Sitting"
} With dataType=json. A failure has result: "FAIL" and the reason in resulttext — see Responses & errors.
Good to know
- Answers "Sitting" as soon as the request is sent. Whether it worked arrives later as a sit webhook event.