VNC Screenshot
This endpoint retrieves a current screenshot of the specified KVM VPS.
The api_host
parameter, obtained from the “Create AUTH-session” response,
is dynamically set in the URL.
Provide the signature
, kvm_id
, and valid_until
parameters obtained
from the same response to retrieve the screenshot.
Body
The session signature obtained from the "Create AUTH-session" call.
"session_signature_12345"
The unique identifier of the KVM VPS to retrieve the screenshot from.
This value is specific to your VPS.
"kvm_xxxxx_yyyyy"
The expiration timestamp for the session, obtained from the "Create AUTH-session" call.
Ensure that the session is valid and has not expired.
"2025-01-12T15:30:00Z"
Response
"success"
The screenshot image encoded in Base64 format.
Use the following example to display it in an img
tag.
Example script to display the image.
"var obj = JSON.parse(serverResponse); img.src=obj.data;"
Was this page helpful?