cURL
curl --request POST \ --url https://api.example.com/phones/{phone_id}/drag
Drag from one point to another
curl -X POST https://api.tapkit.ai/phones/{phone_id}/drag \ -H "X-API-Key: TK_your_api_key" \ -H "Content-Type: application/json" \ -d '{"from_x": 100, "from_y": 200, "to_x": 300, "to_y": 400}'
{ "from_x": 100, "from_y": 200, "to_x": 300, "to_y": 400 }
from_x
integer
from_y
to_x
to_y