---
search:
  tags:
    - edge
    - POST
seo:
  description: >-
    A link to the sandbox's noVNC desktop at… Reference for the POST
    /v1/sandboxes/{sandbox}/desktop endpoint in the pols.so API.
sidebar:
  label: Get a link to the sandbox's desktop in the browser (noVNC)
  badge: POST
title: Get a link to the sandbox's desktop in the browser (noVNC)
type: openapi-operation
---
A link to the sandbox's noVNC desktop at
`https://<sandbox>-desktop.<sandbox domain>/#<token>`. The token is
in the URL fragment, which browsers do not send to servers: the
edge's desktop page reads it and presents it when it opens the
desktop's WebSocket, so it appears in no request URL and sets no
cookie. The link opens and reconnects the desktop until
`expires_at` (12 hours), while the sandbox keeps running and the
API key that made it is not revoked; stopping the sandbox ends it,
even after a resume. The sandbox must be running. Whoever has the
link can use the desktop's mouse and keyboard: treat it like a
password.

`POST /v1/sandboxes/{sandbox}/desktop`
