Skip to main content
POST
/
v1
/
machines
/
{machine_id}
/
cyberdriver
/
web-session
Create Cyberdriver Web Session
curl --request POST \
  --url https://api.cyberdesk.io/v1/machines/{machine_id}/cyberdriver/web-session \
  --header 'Authorization: Bearer <token>'
{
  "machine_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "rustdesk_peer_id": "<string>",
  "desktop_label": "<string>",
  "selected_organization_id": "<string>",
  "token": "<string>",
  "expires_at": 123,
  "mode": "<string>",
  "endpoints": {
    "hbbs_url": "<string>",
    "hbbr_url": "<string>"
  },
  "public_key": "<string>",
  "features": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string

Unique key for idempotent requests. If provided, the server ensures the request is processed at most once. Retries with the same key return the original response. SDKs auto-generate this for write requests.

Example:

"550e8400-e29b-41d4-a716-446655440000"

Path Parameters

machine_id
string<uuid>
required

Response

Successful Response

machine_id
string<uuid>
required
rustdesk_peer_id
string
required
desktop_label
string
required
selected_organization_id
string
required
token
string
required
expires_at
integer
required
mode
string
required
endpoints
CyberdriverWebSessionEndpoints · object
required
public_key
string
required
features
Features · object
required