JavaScript
Navigation
Input text
Types text into the focused input field. The optional completionMode defaults to accepted for backwards-compatible low latency; committed additionally waits for the complete text or a quiescent UI state.
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
Bearer token via Authorization header
Headers
Required range:
x >= 0Path Parameters
Body
application/json
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 Per-character mistake rate for humantouch typing. -1 uses server default.
Words per minute for stealth typing. 0 uses portal default.
Response
No Content