Skip to main content
POST
/
phones
/
{phone_id}
/
flick
Flick
curl --request POST \
  --url https://api.example.com/phones/{phone_id}/flick
Execute a flick (quick swipe) gesture in a direction.

Request

curl -X POST https://api.tapkit.ai/phones/{phone_id}/flick \
  -H "X-API-Key: TK_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{"x": 500, "y": 1000, "direction": "up"}'

Request Body

{
  "x": 500,
  "y": 1000,
  "direction": "up"
}
FieldTypeDescription
xintegerStarting X coordinate
yintegerStarting Y coordinate
directionstring"up", "down", "left", or "right"

Use Cases

  • Scroll through lists
  • Navigate between pages
  • Dismiss notifications