cURL
curl --request POST \ --url https://api.example.com/phones/{phone_id}/tap-and-hold
Long press at coordinates
curl -X POST https://api.tapkit.ai/phones/{phone_id}/tap-and-hold \ -H "X-API-Key: TK_your_api_key" \ -H "Content-Type: application/json" \ -d '{"x": 100, "y": 200, "duration_ms": 1000}'
{ "x": 100, "y": 200, "duration_ms": 1000 }
x
integer
y
duration_ms
1000