API Reference
Dashboard
  1. API Reference
  2. Box API
  3. Devices

Restart the XProxy app on one or more Android phones

Use this first when an Android phone's proxy stops working; it is faster than a reboot. Restarts the XProxy app on each phone over ADB and counts successes and failures. status is true when at least one phone restarted.

  • Action · reversible
  • Basic auth
  • Panel API · since v20.9.48
  • Hub: routine call
  • restartAndroidApp
POST/androidng/restart_app

Request body application/json · required

serialsstring[]optional

ADB serials of the phones.

serialstringoptional

One ADB serial (older clients).

Authentication

Needs dashboard Basic credentials when dashboard authentication is enabled; trusted callers (loopback, LAN unless "force auth for local" is on, whitelisted IP, allowed Tailscale) pass without them.

Responses

Counts or a refusal.

statusbooleanoptional

True when at least one phone succeeded.

success_countintegeroptional
failed_countintegeroptional
msgstringoptional

Errors returned in msg

msgMeaningWhat to do
Missing parametersNeither serials nor serial was sent.Send serials from GET /androidng/list_device_info.
An error when restart appNo phone restarted the app.Check ADB authorization; try POST /androidng/reboot_phone.
(exception text)An unexpected error; msg is the error text.Retry; check the box logs if it repeats.
Verified against XProxy v21.3.2 on Nov 17, 2026