Skip to main content
POST
Drag and Drop

Authorizations

anchor-api-key
string
header
required

API key for your Anchor Browser account, sent as the anchor-api-key header on every request. Create one at app.anchorbrowser.io (API Access), or obtain one programmatically via the unauthenticated agent-access flow (POST /v1/agent-access).

Path Parameters

sessionId
string<uuid>
required

The ID of the browser session

Body

application/json
startX
integer
required

Starting X coordinate

startY
integer
required

Starting Y coordinate

endX
integer
required

Ending X coordinate

endY
integer
required

Ending Y coordinate

button
enum<string>

Mouse button to use

Available options:
left,
middle,
right

Response

Drag and drop performed successfully

status
string