API Reference › Bots — Movement
Directional Move
POST
/bots/{bot_id}/moveStart or stop moving in a direction, like holding a movement key.
Usage
curl -X POST "https://api.lifebots.cloud/api/v1/bots/$BOT_ID/move" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"instruction": "forward",
"action": "start"
}'Path parameters
| Name | Type | Description |
|---|---|---|
bot_id | UUID | The bot's avatar UUID (agentId from GET /bots). |
Body (JSON)
| Name | Type | Required | Description |
|---|---|---|---|
instruction | string | yes | forward, backward, left, right, fly, turnleft, turnright or stop. |
action | string | no | "start" or "stop". Required unless instruction is stop. |
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.