---
title: "Capture a device screenshot"
method: POST
path: "/devices/{deviceId}/screenshots"
tags: ["Tools/Screenshots"]
---

# Capture a device screenshot

`POST /devices/{deviceId}/screenshots`

## Request

- Base URL: `https://api.mobilerun.ai`
- URL: `https://api.mobilerun.ai/devices/{deviceId}/screenshots`
- Auth: HTTP bearer

Captures the device screen and returns it as a PNG image. Pass save=true to store it as device media.

## Path parameters

- `deviceId` string, required

## Query parameters

- `hideOverlay` boolean
- `save` boolean: Store the screenshot as device media: in the owner's active recording, or standalone for 7 days. Without save=true nothing is stored. The PNG response is unchanged; X-Screenshot-Saved reports whether it was stored.

## Headers

- `X-Device-Display-ID` integer

## Response `200`

OK

- string, byte

## Other responses

- `default`: Error

## Changes

- **2026-10-16** `4ad548c528a8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/droidrun/apis/droidrun-cloud/changes/devices/:deviceId/screenshots/post.md)

---

[API](https://skmtc.dev/droidrun/apis/droidrun-cloud.md) - [All operations](https://skmtc.dev/droidrun/apis/droidrun-cloud/llms.txt) - [OpenAPI document](https://skmtc.dev/droidrun/apis/droidrun-cloud/revisions/1cc95586c933?raw)
