Lybic Docs

Preview Sandbox

Takes a screenshot and gets cursor position of the sandbox.

POST
/api/orgs/{orgId}/sandboxes/{sandboxId}/preview

Path Parameters

sandboxIdstring
orgIdstring

The organization ID

Response Body

{
  "screenShot": "http://example.com",
  "cursorPosition": {
    "x": 0,
    "y": 0,
    "screenWidth": 0,
    "screenHeight": 0,
    "screenIndex": 0
  },
  "actionResult": null
}