cURL
curl --request POST \ --url https://api.onkernel.com/browsers/{id}/computer/move_mouse \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "x": 123, "y": 123, "hold_keys": [ "<string>" ] } '
{ "code": "bad_request", "message": "Missing required field: app_name", "details": [ { "code": "invalid_input", "message": "Provided version string is not semver compliant" } ], "inner_error": { "code": "invalid_input", "message": "Provided version string is not semver compliant" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Browser session ID
X coordinate to move the cursor to
Y coordinate to move the cursor to
Modifier keys to hold during the move
Mouse cursor moved