cURL
curl --request POST \ --url https://api.anchorbrowser.io/v1/sessions/{sessionId}/copy \ --header 'anchor-api-key: <api-key>'
{ "text": "<string>" }
Copies the currently selected text to the clipboard
API key passed in the header
The ID of the browser session
Text copied successfully
The text that was copied
Was this page helpful?