Skip to main content
POST
/
v1
/
sessions
/
{session_id}
/
keyboard
/
press
Press Keys
curl --request POST \
  --url https://api.anchorbrowser.io/v1/sessions/{session_id}/keyboard/press \
  --header 'Content-Type: application/json' \
  --header 'anchor-api-key: <api-key>' \
  --data '
{
  "keys": "<string>"
}
'
{
  "data": {
    "status": "<string>"
  }
}

Authorizations

anchor-api-key
string
header
required

API key passed in the header

Path Parameters

session_id
string
required

Body

application/json
keys
required

A single key or an array of keys to press.

Response

Keys pressed successfully.

data
object