curl -X POST https://api.tapkit.ai/v1/phones/$PHONE_ID/keypress \
-H "X-API-Key: $TAPKIT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"key": "backspace", "repeat": 5}'
{
"id": "5d2c9a0e-7f7b-4c1e-9d1a-2f4b8e0c3a61",
"status": "completed",
"result": {},
"created_at": "2026-09-23T18:30:00Z",
"completed_at": "2026-09-23T18:30:01Z"
}
Keyboard and buttons
Press key
Press a keyboard key
POST
/
phones
/
{phone_id}
/
keypress
curl -X POST https://api.tapkit.ai/v1/phones/$PHONE_ID/keypress \
-H "X-API-Key: $TAPKIT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"key": "backspace", "repeat": 5}'
{
"id": "5d2c9a0e-7f7b-4c1e-9d1a-2f4b8e0c3a61",
"status": "completed",
"result": {},
"created_at": "2026-09-23T18:30:00Z",
"completed_at": "2026-09-23T18:30:01Z"
}
Press a keyboard key on the phone, optionally holding modifier keys. Use it to delete text, submit a field, dismiss the keyboard, or move the cursor.
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
string
required
enter, escape, backspace, arrow_up, arrow_down, arrow_left, or arrow_right.string[]
default:"[]"
Modifier keys to hold: any of
control, shift, alternate, command.integer
default:"1"
How many times to press the key. At least 1.
curl -X POST https://api.tapkit.ai/v1/phones/$PHONE_ID/keypress \
-H "X-API-Key: $TAPKIT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"key": "backspace", "repeat": 5}'
{
"id": "5d2c9a0e-7f7b-4c1e-9d1a-2f4b8e0c3a61",
"status": "completed",
"result": {},
"created_at": "2026-09-23T18:30:00Z",
"completed_at": "2026-09-23T18:30:01Z"
}