Retrieve apps installed on a managed device

Open in ChatGPT Open in ChatGPT to ask questions about this page
Open in Claude Open in Claude to ask questions about this page
Copy as MarkdownCopy this page as markdown to use with AI assistants
View as Markdown Open this page as markdown in a new tab

Get apps details installed in the device

Request URL

https://{server-hostname}:8383/api/v1/mdm/devices/{device_id}/apps

Scope

MDMInventory.READCopied!

Header

Authorization: d92d4xxxxxxxxxxxxx15f52

Request Parameters

- Request Headers

AcceptstringMandatory
application/jsonapplication/jsonCopied!

- Path Parameters

device_idstringMandatory

Unique identifier of the device. Obtain from the Get Device List response

- Query Parameters

limitintegerOptional

Maximum number of records to return in a single response. Used together with offset for pagination

skip-tokenstringOptional

Pagination continuation token returned by a previous response. Pass it to fetch the next page of results

offsetintegerOptional

Zero-based index of the first record to return. Used together with limit for pagination

delta-tokenstringOptional

Token used for delta/incremental fetches. Pass the token returned from a previous response to retrieve only items modified since that point

searchkeystringOptional

Value to search for. Must be used in combination with searchfield to specify which field is searched

searchfieldstringOptional

Name of the field to search against. Used together with searchkey (e.g., name, email, udid)

is_allowed_appsbooleanOptional

Set to true to return apps from the allow list, false to return apps from the block list

is_app_purchased_from_portalbooleanOptional

Set to true to restrict results to apps purchased through the enterprise app portal (VPP/managed Google Play). Default: false

searchstringOptional

Free-text search string applied to the default searchable fields of the resource

app_scopestringOptional

Filter applications by their assignment scope. Allowed values: 1=All, 2=Assigned to groups, 3=Assigned to devices

platformstringOptional

Filter results by device platform. Allowed values: 1=iOS, 2=Android, 3=Windows, 4=macOS, 6=tvOS

includestringOptional

Comma-separated list of related fields to include in the response (e.g., assigned_to, payload_details). When omitted, only top-level fields are returned

showallappsbooleanOptional

When true, returns all apps including system and pre-installed apps. Default: false

Sample Request

Curl
Java
Python
Deluge
PowerShell
Copied!
curl --request GET \
  --url 'https://appdomain/api/v1/mdm/devices/{device_id}/apps?limit=SOME_INTEGER_VALUE&skip-token=SOME_STRING_VALUE&offset=SOME_INTEGER_VALUE&delta-token=SOME_STRING_VALUE&searchkey=SOME_STRING_VALUE&searchfield=SOME_STRING_VALUE&is_allowed_apps=SOME_BOOLEAN_VALUE&is_app_purchased_from_portal=SOME_BOOLEAN_VALUE&search=SOME_STRING_VALUE&app_scope=SOME_STRING_VALUE&platform=SOME_STRING_VALUE&include=SOME_STRING_VALUE&showallapps=SOME_BOOLEAN_VALUE' \
  --header 'Accept: application/json' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'

Response Parameters

- HTTP code 200

Response Body - application/json
JSON Object
Hide Sub-Attributes
installed_appsJSON Array

List of apps installed on the device based on app scan settings

Show Sub-Attributes
JSON Object
Show Sub-Attributes
release_label_detailsJSON Object

Release label information for the installed app

Show Sub-Attributes
release_label_namestring

Display name of the release label (e.g., Production, Beta)

release_label_idstring

Unique release label identifier

app_versionstring

Version string of the installed app

platform_typestring

Platform type (e.g., android, ios, windows)

identifierstring

App bundle/package identifier

app_namestring

Display name of the app

app_idstring

Unique app identifier

app_version_codestring

Internal version code of the app

release_label_detailsJSON Object

Default release label details

Show Sub-Attributes
release_label_namestring

Display name of the release label (e.g., Production, Beta)

release_label_idstring

Unique release label identifier

appsJSON Array

Array of apps distributed to the device through MDM

Show Sub-Attributes
JSON Object
Show Sub-Attributes
app_versionstring

Version string of the distributed app

app_version_codestring

Internal version code

platform_typestring

Platform type

identifierstring

App bundle/package identifier

app_namestring

Display name of the app

app_idstring

Unique app identifier

added_timestring

Timestamp when the app was added

modified_timestring

Timestamp when the app was last modified

platformstring

Platform ID: 1 - iOS, 2 - Android, 3 - Windows

iconstring

URL of the app icon

Possible Response Codes

200HTTP code

Sample Response: HTTP 200

Installed apps and MDM-distributed apps on the device

Copied!
  {
    "installed_apps": [
      {
        "identifier": "com.google.android.apps.googleassistant",
        "app_name": "Google Assistant",
        "release_label_details": {
          "release_label_name": "Production",
          "release_label_id": "90086789628394940"
        },
        "app_version": "0.1.187945513",
        "platform_type": "android",
        "app_version_code": "187945513",
        "app_id": "9007199254740995"
      }
    ],
    "release_label_details": {
      "release_label_name": "Production",
      "release_label_id": "90086789628394940"
    },
    "apps": [
      {
        "identifier": "com.google.android.apps.googleassistant",
        "app_name": "Google Assistant",
        "added_time": "1523370360750",
        "modified_time": "1714630800000",
        "app_version": "0.1.187945513",
        "platform_type": "android",
        "app_version_code": "187945513",
        "icon": "https://zylker.com/icon.png",
        "app_id": "9007199254740995",
        "platform": "2"
      }
    ]
  }
                
Show full

Duration: 1 minute | Threshold: 250 | Lock period: 5 minutes

Duration - Time window for the threshold.
Threshold - Number of API calls allowed within the specified duration.
Lock Period - Wait time before consecutive API requests.