UI Action
Take screenshot
Captures a screenshot of the current box screen
post/boxes/{boxId}/actions/screenshot
Path parameters
boxIdstring required
Example:c9bdc193-b54b-4ddb-a035-5ac0c598d32d
Box ID
Request body
Example request
{
"outputFormat": "base64",
"presignedExpiresIn": "30m",
"scrollCapture": {
"maxHeight": 4000
},
"clip": {
"x": 100,
"y": 50,
"width": 800,
"height": 600
}
}Response
Example response
{
"uri": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUA...",
"presignedUrl": "https://example.com/xxxxx/xxxxx/xxxxx"
}