Add a new content token (VPP token) Add a new VPP content token to the MDM server for managing VPP accounts in Apple App Management
Request URL https://{server-hostname}:8383/api/v1/mdm/apps/account/vpp
Scope
Header Authorization: d92d4xxxxxxxxxxxxx15f52
Request Parameters - Request Headers Content-Type string Mandatory
- Request Body application/json JSON Object
Hide Sub-Attributes vpp_token_file long Mandatory
The unique ID of the server token file. Upload using Upload File
email_address string Mandatory
Email ID added to receive notifications about the server token expiry date
Curl
Java
Python
Deluge
PowerShell
Copied!
curl --request POST \
--url https://appdomain/api/v1/mdm/apps/account/vpp \
--header 'Accept: application/json' \
--header 'Authorization: d92d4xxxxxxxxxxxxx15f52' \
--header 'Content-Type: application/json' \
--data '{"vpp_token_file":121313,"email_address":"sysadmin@zylker.com"}'import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.io.IOException;
import java.net.http.HttpTimeoutException;
public class Main {
public static void main(String[] args) {
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://appdomain/api/v1/mdm/apps/account/vpp"))
.header("Content-Type", "application/json")
.header("Accept", "application/json")
.header("Authorization", " d92d4xxxxxxxxxxxxx15f52")
.method("POST", HttpRequest.BodyPublishers.ofString("{\"vpp_token_file\":121313,\"email_address\":\"sysadmin@zylker.com\"}"))
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
}
}
import http.client
conn = http.client.HTTPSConnection("appdomain")
payload = "{\"vpp_token_file\":121313,\"email_address\":\"sysadmin@zylker.com\"}"
headers = {
'Content-Type': "application/json",
'Accept': "application/json",
'Authorization': " d92d4xxxxxxxxxxxxx15f52"
}
conn.request("POST", "/api/v1/mdm/apps/account/vpp", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
headersMap = Map();
headersMap.put("Content-Type", "application/json");
headersMap.put("Accept", "application/json");
data=Map();
data.put("vpp_token_file","1");
data.put("email_address","value");
response = invokeUrl
[
url: "https://appDomain/api/v1/mdm/apps/account/vpp"
type: POST
headers: headersMap
body: data
connection: connection_name
]
info response;
$headers=@{}
$headers.Add("Content-Type", "application/json")
$headers.Add("Accept", "application/json")
$headers.Add("Authorization", " d92d4xxxxxxxxxxxxx15f52")
$response = Invoke-WebRequest -Uri 'https://appdomain/api/v1/mdm/apps/account/vpp' -Method POST -Headers $headers -ContentType 'application/json' -Body '{"vpp_token_file":121313,"email_address":"sysadmin@zylker.com"}'Sample Request Body Add a new VPP content token with notification email
Copied!
{
"vpp_token_file": 121313,
"email_address": "sysadmin@zylker.com"
}
▼ Show full
Response Parameters - HTTP code 200 Response Body - application/json JSON Object
Hide Sub-Attributes location_name string
Location name associated with the added content token
expired boolean
Whether the content token has expired. false = active, true = expired
businessstore_id long
Unique ID of the content token in the MDM system
organisation_name string
Organization name associated with the content token
expiry_date long
Epoch timestamp (milliseconds) when the content token expires
Possible Response Codes Sample Response: HTTP 200 VPP account successfully added with token details
Copied!
{
"location_name": "Location Name - 2",
"expired": false,
"expiry_date": 1639122831000,
"businessstore_id": 9007199254741896,
"organisation_name": "Zylker Inc"
}
▼ 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.
© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.
© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.