Skip to main content
POST
/
phones
/
{phone_id}
/
type
Type Text
curl --request POST \
  --url https://api.example.com/phones/{phone_id}/type
Type text into the currently focused input field.

Request

curl -X POST https://api.tapkit.ai/phones/{phone_id}/type \
  -H "X-API-Key: TK_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{"text": "Hello, world!", "method": "keys"}'

Request Body

{
  "text": "Hello, world!",
  "method": "keys"
}
FieldTypeDefaultDescription
textstringrequiredText to type
methodstring"keys""keys" or "paste"

Methods

MethodDescription
keysSimulate individual keystrokes
pastePaste via clipboard (faster for long text)