Leap0

Move pointer

Move the cursor to absolute coordinates.

POST/api/input/move

Move the cursor to absolute coordinates.

Authorization

BearerAuth
AuthorizationBearer <token>

API key passed as a Bearer token.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

x*integer

Target X coordinate.

Range0 <= value
y*integer

Target Y coordinate.

Range0 <= value

Response Body

application/json

application/json

curl -X POST "https://<sandbox_id>.sandbox.leap0.dev/api/input/move" \  -H "Content-Type: application/json" \  -d '{    "x": 0,    "y": 0  }'
{  "x": 720,  "y": 450}
{  "message": "Invalid request",  "errors": [    {      "field": "string",      "error": "string"    }  ]}