Skip to main content
POST
JavaScript
Action codes follow Android’s accessibility global actions:
  • 1 — back
  • 2 — home
  • 3 — recents (app switcher)
These three work on every Android device. Higher codes — 4 (notifications), 5 (quick settings), 6 (power dialog), 8 (lock screen) — are device-dependent and rejected with an error where unsupported.

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
action
integer<int64>
required

Response

No Content