Leap0

Hotkey

Press a multi-key shortcut. Keys are joined with `+` and sent as a single combination.

POST/api/input/hotkey

Press a multi-key shortcut. Keys are joined with + and sent as a single combination.

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.

keys*array<string>

Keys to press simultaneously (e.g. ["ctrl", "l"]).

Items1 <= items <= 10

Response Body

application/json

application/json

curl -X POST "https://<sandbox_id>.sandbox.leap0.dev/api/input/hotkey" \  -H "Content-Type: application/json" \  -d '{    "keys": [      "string"    ]  }'
{  "ok": true}
{  "message": "Invalid request",  "errors": [    {      "field": "string",      "error": "string"    }  ]}