Scroll
Scroll at the current pointer position.
POST
/api/input/scrollScroll at the current pointer position.
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.
direction*string
Scroll direction.
Value in
"up" | "down" | "left" | "right"amount?integer
Number of scroll steps.
Default
1Range
1 <= value <= 100Response Body
application/json
application/json
curl -X POST "https://<sandbox_id>.sandbox.leap0.dev/api/input/scroll" \ -H "Content-Type: application/json" \ -d '{ "direction": "up" }'{ "x": 720, "y": 450}{ "message": "Invalid request", "errors": [ { "field": "string", "error": "string" } ]}
