Skip to main content
POST
JavaScript

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Browser session ID

Body

application/json
x
integer
required

X coordinate to move the cursor to

y
integer
required

Y coordinate to move the cursor to

hold_keys
string[]

Modifier keys to hold during the move

smooth
boolean
default:true

Use human-like Bezier curve path instead of instant mouse movement.

duration_ms
integer

Target total duration in milliseconds for the mouse movement when smooth=true. Omit for automatic timing based on distance.

Required range: 50 <= x <= 5000

Response

Mouse cursor moved