cURL
curl --request POST \ --url https://api.anchorbrowser.io/v1/sessions/{sessionId}/clipboard \ --header 'Content-Type: application/json' \ --header 'anchor-api-key: <api-key>' \ --data ' { "text": "<string>" } '
{ "status": "<string>" }
Sets the content of the clipboard
API key passed in the header
The ID of the browser session
Text to set in the clipboard
Clipboard content set successfully
Was this page helpful?