Skip to main content
PUT
/
v1
/
sandboxes
/
{id}
/
desktop
/
clipboard
Set text on the guest clipboard
import requests

url = "https://api.13-215-85-171.sslip.io/v1/sandboxes/{id}/desktop/clipboard"

payload = { "text": "<string>" }
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.put(url, json=payload, headers=headers)

print(response.text)
{
  "text": "<string>"
}

Authorizations

Authorization
string
header
required

API key passed as Bearer token

Path Parameters

id
string
required

Sandbox ID (e.g. sb_a1b2c3d4)

Body

application/json
text
string
required

Response

200 - application/json

Updated guest clipboard text.

text
string
required