POST
/
api
/
keyboard
/
hotkey
curl --request POST \
  --url http://localhost:4242/{computer_name}/api/keyboard/hotkey \
  --header 'Content-Type: application/json' \
  --data '{
  "display_num": 1,
  "keys": [
    "ctrl",
    "c"
  ]
}'
"<any>"

Body

application/json

Keys to press simultaneously

keys
string[]
required

List of keys to press simultaneously

Example:
["ctrl", "c"]
display_num
integer
default:1

Display number to target

Example:

1

Response

200
application/json
Successfully pressed the hotkey combination

The response is of type any.