Skip to main content
GET
/
v1
/
sandboxes
/
{id}
/
desktop
/
stream
/
auth-key
Get the active managed desktop viewer auth key and browser URL
import requests

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

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

response = requests.get(url, headers=headers)

print(response.text)
{
  "auth_key": "<string>",
  "viewer_url": "<string>",
  "view_only": true,
  "expires_at": "2023-11-07T05:31:56Z"
}

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

Managed viewer auth key and browser URL for the current session

auth_key
string
required
viewer_url
string
required

Public managed viewer URL for the active session. In edge mode this points to the edge-owned desktop host.

view_only
boolean
required
expires_at
string<date-time>
required