Skip to content

Cloud phone screen capture (response base64)

Request

Capture the Cloud Phone screen and return the image inline as base64.

  • Preconditions: the phone must be powered on and not held by another member. Supported on compatible device models only — incompatible models reject the call.
  • Completion: synchronous. On failure the response carries an error message instead of image data, so check success before decoding.
  • Model support: documented as available on Android 12 and Android 15 images only.
  • Use: prefer this over /cloudphone/screenCap when you do not want to depend on a temporary download URL.
Security
Authorization
Bodyapplication/jsonrequired
idstringrequired

cloud phone ID

Example:"1558968155668507"
curl -i -X POST \
  https://api.morelogin.com/cloudphone/screenCapBase64 \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "id": "1558968155668507"
  }'

Responses

Success. data is an object with the fields captureBase64, errorMessage and success.

Bodyapplication/json
codeinteger

Response code: 0 = success, >0 = error

dataobject
msgstring or null

Message; populated if code > 0

requestIdstring

Unique request identifier; include it when contacting support

Response
{ "code": 0, "data": { "captureBase64": "data:image/png;base64,/9j/4AAQSkZJRgABAQAA.....", "errorMessage": "success", "success": true }, "msg": null, "requestId": "0d8b6f1c-9f4e-4d02-9d1a-7c3f5a1b2c3d" }