> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tapkit.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Screenshot

> Capture a phone's screen

Returns a PNG of the phone's screen at full resolution. Pixel positions in the image are the coordinates gesture endpoints expect.

**phone\_id** `string` *required*

The phone's ID, from [List phones](https://docs.tapkit.ai/api-reference/list-phones.md).

**async** `boolean` (default: false)

Return `{"job_id": ...}` immediately. Fetch the image with [Download screenshot](https://docs.tapkit.ai/api-reference/download-screenshot.md) once the [job](https://docs.tapkit.ai/api-reference/get-job.md) completes.

## Response

`image/png` bytes. If the screenshot doesn't arrive within 60 seconds, the request fails with `408 TIMEOUT`.

```bash cURL theme={null}
curl https://api.tapkit.ai/v1/phones/$PHONE_ID/screenshot \
  -H "X-API-Key: $TAPKIT_API_KEY" \
  -o screen.png
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.