cURL
curl --request POST \ --url https://api.anchorbrowser.io/v1/sessions/{sessionId}/copy \ --header 'anchor-api-key: <api-key>'
{ "text": "Selected text" }
Copies the currently selected text to the clipboard
API key passed in the header
The ID of the browser session
Text copied successfully
The response is of type object.
object