Skip to main content
POST
JavaScript
Text goes to the currently focused input field — tap a field first, and confirm focus via the UI state response (phone_state.focusedElement and keyboardVisible). wpm and errorRate are stealth-only tuning knobs, and each applies to a different class of device: devices with human-like input support honor errorRate and ignore wpm; all other devices honor wpm and ignore errorRate. completionMode is optional and defaults to accepted, which preserves the existing behavior and returns after the device input provider accepts the operation. Use committed when the next action depends on the complete value being visible: the request then waits until the focused field contains the full expected text or the focused UI state remains unchanged for a bounded stability window. Devices without accessibility read-back reject committed before typing.

Authorizations

Authorization
string
header
required

Bearer token via Authorization header

Headers

X-Device-Display-ID
integer<int64>
default:0
Required range: x >= 0

Path Parameters

deviceId
string
required

Body

application/json
text
string
required
clear
boolean
default:false
completionMode
enum<string>
default:accepted

Completion guarantee. accepted returns after the input provider accepts the operation; committed additionally waits for the focused UI state to contain the complete text or become quiescent.

Available options:
accepted,
committed
errorRate
number<double>
default:-1

Per-character mistake rate for humantouch typing. -1 uses server default.

stealth
boolean
default:false
wpm
integer<int64>
default:0

Words per minute for stealth typing. 0 uses portal default.

Response

No Content