Retrieve details of all available content tokens

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

Retrieve details of all VPP content tokens added to the MDM server

Endpoints

Request URL

https://{server-hostname}:8383/api/v1/mdm/apps/account/vpp

Scope

MDMDeviceMgmt.READCopied!

Header

Authorization: d92d4xxxxxxxxxxxxx15f52

Request Parameters

- Request Headers

AcceptstringMandatory
application/jsonapplication/jsonCopied!

Sample Request

Curl
Java
Python
Deluge
PowerShell
Copied!
curl --request GET \
  --url https://appdomain/api/v1/mdm/apps/account/vpp \
  --header 'Accept: application/json' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'

Response Parameters

- HTTP code 200

Response Body - application/json
JSON Object
Hide Sub-Attributes
non_vpp_app_countinteger

Number of non-VPP apps added to the MDM App Repository

vpp_token_detailsJSON Array

Array of content token detail objects containing businessstore_id, organisation_name, license_assign_type, and location_name

Show Sub-Attributes
JSON Object
Show Sub-Attributes
businessstore_idlong

Unique ID of the content token

organisation_namestring

Organization name of the content token

license_assign_typeinteger

Type of VPP assignment. 1 = User Based Assignment, 2 = Device Based Assignment

location_namestring

Location name associated with the content token

trash_countinteger

Number of iOS apps currently in Trash

Possible Response Codes

200HTTP code

Sample Response: HTTP 200

List of all VPP content tokens with metadata

Copied!
  {
    "non_vpp_app_count": 2,
    "vpp_token_details": [
      {
        "location_name": "Location Name - 2",
        "businessstore_id": 9007199254741896,
        "organisation_name": "Zylker Inc",
        "license_assign_type": 2
      }
    ],
    "trash_count": 0
  }
                
Show full

No VPP accounts configured

Copied!
  {
    "non_vpp_app_count": 0,
    "vpp_token_details": [],
    "trash_count": 0
  }
                
Show full

Duration: 1 minute | Threshold: 60 | 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.