POST
/
v1
/
sessions
/
{sessionId}
/
copy
curl --request POST \
  --url https://api.anchorbrowser.io/v1/sessions/{sessionId}/copy \
  --header 'anchor-api-key: <api-key>'
{
  "text": "Selected text"
}

Authorizations

anchor-api-key
string
header
required

API key passed in the header

Path Parameters

sessionId
string
required

The ID of the browser session

Response

200
application/json
Text copied successfully
text
string

The text that was copied

Example:

"Selected text"