curl -X POST https://api.tapkit.ai/v1/phones/$PHONE_ID/tap-and-hold \
-H "X-API-Key: $TAPKIT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"x": 585, "y": 1266, "duration_ms": 1000}'
{
"id": "5d2c9a0e-7f7b-4c1e-9d1a-2f4b8e0c3a61",
"status": "completed",
"result": {},
"created_at": "2026-09-23T18:30:00Z",
"completed_at": "2026-09-23T18:30:01Z"
}
Gestures
Tap and hold
Long press a point on the screen
POST
/
phones
/
{phone_id}
/
tap-and-hold
curl -X POST https://api.tapkit.ai/v1/phones/$PHONE_ID/tap-and-hold \
-H "X-API-Key: $TAPKIT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"x": 585, "y": 1266, "duration_ms": 1000}'
{
"id": "5d2c9a0e-7f7b-4c1e-9d1a-2f4b8e0c3a61",
"status": "completed",
"result": {},
"created_at": "2026-09-23T18:30:00Z",
"completed_at": "2026-09-23T18:30:01Z"
}
Press and hold at a point. A long press opens context menus and previews, and puts the Home Screen into edit mode.
string
required
The phone’s ID, from List phones.
boolean
default:"false"
Return
{"job_id": ...} immediately instead of waiting for the action. See Jobs.Body
integer
required
Horizontal position in pixels from the left edge.
integer
required
Vertical position in pixels from the top edge.
integer
default:"1000"
How long to hold, in milliseconds.
curl -X POST https://api.tapkit.ai/v1/phones/$PHONE_ID/tap-and-hold \
-H "X-API-Key: $TAPKIT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"x": 585, "y": 1266, "duration_ms": 1000}'
{
"id": "5d2c9a0e-7f7b-4c1e-9d1a-2f4b8e0c3a61",
"status": "completed",
"result": {},
"created_at": "2026-09-23T18:30:00Z",
"completed_at": "2026-09-23T18:30:01Z"
}