POST
/
v1
/
sessions
/
{sessionId}
/
paste
curl --request POST \
  --url https://api.anchorbrowser.io/v1/sessions/{sessionId}/paste \
  --header 'Content-Type: application/json' \
  --header 'anchor-api-key: <api-key>' \
  --data '{
  "text": "Text pasted via API"
}'
{
  "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
text
string
required

Text to paste

Example:

"Text pasted via API"

Response

200
application/json
Text pasted successfully
status
string
Example:

"success"