Press key
Press a single key by its X11 keysym name.
POST
/api/input/pressPress a single key by its X11 keysym name.
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.
key*string
X11 keysym name (e.g. Return, Escape, Tab).
Response Body
application/json
application/json
curl -X POST "https://<sandbox_id>.sandbox.leap0.dev/api/input/press" \ -H "Content-Type: application/json" \ -d '{ "key": "string" }'{ "ok": true}{ "message": "Invalid request", "errors": [ { "field": "string", "error": "string" } ]}
