Skip to main content
POST
/
v1
/
desktop
/
keyboard
/
press
Press a desktop keyboard shortcut.
curl --request POST \
  --url http://localhost:2468/v1/desktop/keyboard/press \
  --header 'Content-Type: application/json' \
  --data '
{
  "key": "<string>",
  "modifiers": {
    "alt": true,
    "cmd": true,
    "ctrl": true,
    "shift": true
  }
}
'
{
  "ok": true
}

Body

application/json
key
string
required
modifiers
object

Response

Desktop keyboard action result

ok
boolean
required