POST
/
v1
/
sessions
/
{sessionId}
/
drag-and-drop
curl --request POST \
  --url https://api.anchorbrowser.io/v1/sessions/{sessionId}/drag-and-drop \
  --header 'Content-Type: application/json' \
  --header 'anchor-api-key: <api-key>' \
  --data '{
  "startX": 400,
  "startY": 200,
  "endX": 500,
  "endY": 300,
  "button": "left"
}'
{
  "status": "success"
}

Authorizations

anchor-api-key
string
header
required

API key passed in the header

Path Parameters

sessionId
string
required

The ID of the browser session

Body

application/json

Response

200
application/json
Drag and drop performed successfully

The response is of type object.