Docs
Dashboard
API reference / BrowserBeta

Open the live view

An HTML page showing the session's browser, with tabs and input (a person can click and type in it). Open the session's liveUrl; framing is allowed only on the platform's own front ends. A session created with browser: false has no live view (liveUrl is null; the page answers 409 browser_disabled, and so does its socket).

GET/live/{id}

Request

Method and pathGET/live/{id}
Base URLhttps://api.boxline.dev
AuthenticationThe signed token in the session’s URL. Anyone with the URL can use it, so treat it like a password.

Path parameters

NameTypeDefaultAllowed valuesDescription
idrequiredstring––
# Get a fresh liveUrl, then open it in a browser.curl "https://api.boxline.dev/v1/sessions/$SESSION_ID" \  -H "x-api-key: $BOXLINE_API_KEY" | jq -r .liveUrl

Responses

200 OK

The page.

  • text/html: An HTML page.
Response 200
An HTML page

Errors

Errors have a matching HTTP status and the same body. code is stable, so check it in your code; message is for people. See Errors and request ids.

StatusCodesWhen
401 UnauthorizedMissing, expired or revoked token (plain text).
Error body
{  "error": {    "code": "not_found",    "message": "session not found",    "requestId": "req_4fJx0aQm2Lk9Pz7N"  }}

Learn more

These docs describe a beta API. Endpoints, fields and SDK methods may change before general availability; breaking changes will be listed in the changelog.