# Cloud phone screen capture(response base64)

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.

Endpoint: POST /api/cloudphone/screenCapBase64
Version: 2026-09-05

## Request fields (application/json):

  - `id` (string, required)
    cloud phone ID
    Example: 1558968155668507

## Response 200:

  - `200` (unknown)
    Success. `data` is an object with the fields `captureBase64`, `errorMessage` and `success`.

## Response 200 fields (application/json):

  - `code` (integer)
    Response code: 0 = success, >0 = error

  - `data` (object)

  - `data.captureBase64` (string)
    Base64-encoded image
    Example: data:image/png;base64,/9j/4AAQSkZJRgABAQAA.....

  - `data.errorMessage` (string)
    error message
    Example: success

  - `data.success` (boolean)
    Was successfully generated
    Example: true

  - `msg` (string | null)
    Message; populated if code > 0

  - `requestId` (string)
    Unique request identifier; include it when contacting support

