curl https://api.tapkit.ai/v1/phones/$PHONE_ID/screenshot \
-H "X-API-Key: $TAPKIT_API_KEY" \
-o screen.png
Phones
Screenshot
Capture a phone’s screen
GET
/
phones
/
{phone_id}
/
screenshot
curl https://api.tapkit.ai/v1/phones/$PHONE_ID/screenshot \
-H "X-API-Key: $TAPKIT_API_KEY" \
-o screen.png
Returns a PNG of the phone’s screen at full resolution. Pixel positions in the image are the coordinates gesture endpoints expect.
string
required
The phone’s ID, from List phones.
boolean
default:"false"
Return
{"job_id": ...} immediately. Fetch the image with Download screenshot once the job completes.Response
image/png bytes. If the screenshot doesn’t arrive within 60 seconds, the request fails with 408 TIMEOUT.
curl https://api.tapkit.ai/v1/phones/$PHONE_ID/screenshot \
-H "X-API-Key: $TAPKIT_API_KEY" \
-o screen.png