Associate one or more apps to a managed device Associating a app to the device
Request URL https://{serverurl} /api/v1/mdm/devices/{device_id}/apps
Scope
Header Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52
Request Parameters - Request Headers Content-Type string Mandatory
- Path Parameters - Request Body application/json JSON object
Hide Sub-Attributes invite_user boolean Optional
Whether to send an invitation to the user for app installation
do_not_uninstall boolean Optional
Whether to retain the app on the device when disassociated
app_details JSON array Mandatory
Array of app detail objects specifying app ID and release label
Show Sub-Attributes JSON object
Show Sub-Attributes app_id string Mandatory
Unique app identifier to associate. Obtain from the Get App List response
release_label_id string Optional
Release label ID for the app version to distribute. Obtain from the Get App Details response
notify_user_via_email boolean Optional
Whether to notify the user via email about the app installation
silent_install boolean Optional
Whether to install the app silently without user interaction
Curl
Java
Python
Deluge
PowerShell
Copied!
curl --request POST \
--url https://appdomain/api/v1/mdm/devices/{device_id}/apps \
--header 'Accept: application/json' \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \
--header 'Content-Type: application/json' \
--data '{"app_details":[{"app_id":"9007199254740995"}]}'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/devices/{device_id}/apps"))
.header("Content-Type", "application/json")
.header("Accept", "application/json")
.header("Authorization", "Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52")
.method("POST", HttpRequest.BodyPublishers.ofString("{\"app_details\":[{\"app_id\":\"9007199254740995\"}]}"))
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
}
}
import http.client
conn = http.client.HTTPSConnection("appdomain")
payload = "{\"app_details\":[{\"app_id\":\"9007199254740995\"}]}"
headers = {
'Content-Type': "application/json",
'Accept': "application/json",
'Authorization': "Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52"
}
conn.request("POST", "/api/v1/mdm/devices/{device_id}/apps", 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_app_details=List();
data_app_details_item1=Map();
data_app_details_item1.put("app_id","value");
data_app_details.add(data_app_details_item1);
data.put("app_details",data_app_details);
response = invokeUrl
[
url: "https://appDomain/api/v1/mdm/devices/{device_id}/apps"
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", "Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52")
$response = Invoke-WebRequest -Uri 'https://appdomain/api/v1/mdm/devices/{device_id}/apps' -Method POST -Headers $headers -ContentType 'application/json' -Body '{"app_details":[{"app_id":"9007199254740995"}]}'Sample Request Body Associate apps with silent install and email notification
Copied!
{
"invite_user": true,
"do_not_uninstall": true,
"app_details": [
{
"release_label_id": "90086789628394940",
"app_id": "9007199254740995"
}
],
"notify_user_via_email": true,
"id": 9007199254741000,
"silent_install": true
}
▼ Show full
Sample Response: HTTP 204 204 No Content▼ Show full
Duration: 1 minute | Threshold: 300 | 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.