Endpoint

Overview

Installs an app from an APK file on each phone. If the app is already installed, it is updated in place and its data is kept. The request returns once the installation has finished on every phone, which can take up to two minutes for a large app. The APK comes from your media library or from a link. Requires an active session on each phone. Platforms: Android only. An iPhone gets the error code unsupported; install iPhone apps from the App Store using the phone’s screen.

Request Body

Provide exactly one of mediaId or url.
string[]
required
The phones to act on.
string
One phone, instead of phoneIds. The answer’s data is then that phone’s result itself, not a list, and a failure on the phone is the request’s ok: false with the phone’s error (at the HTTP status of its code). Give phoneId or phoneIds, not both.
string
The id of an .apk file in your media library.
string
A public HTTPS URL of the .apk file.

Response

boolean
true when the request was carried out. Check each result for how it went on that phone.
Result[]
One Result per phone, in the order of phoneIds.

Errors

Phone Errors