Skip to main content
GET
/
v1
/
sandboxes
/
{id}
/
desktop
/
clipboard
Get text from the guest clipboard
import requests

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

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, 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)

Response

200 - application/json

Current guest clipboard text.

text
string
required