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": "Text from clipboard API" }'
{ "status": "success" }
Sets the content of the clipboard
API key passed in the header
The ID of the browser session
Clipboard content set successfully
The response is of type object.
object