Distribute an announcement to one or more managed devices Distribute the individual Announcement to the devices
Request URL https://{server-hostname}:8383/api/v1/mdm/announcements/{announcement_id}/devices
Scope
Header Authorization: d92d4xxxxxxxxxxxxx15f52
Request Parameters - Request Headers Content-Type string Mandatory
- Path Parameters announcement_id string Mandatory
- Request Body application/json Curl
Java
Python
Deluge
PowerShell
Copied!
curl --request POST \
--url https://appdomain/api/v1/mdm/announcements/{announcement_id}/devices \
--header 'Accept: application/json' \
--header 'Authorization: d92d4xxxxxxxxxxxxx15f52' \
--header 'Content-Type: application/json' \
--data '{"device_ids":["9007199254741037","9007199254741038","9007199254741039"]}'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/announcements/{announcement_id}/devices"))
.header("Content-Type", "application/json")
.header("Accept", "application/json")
.header("Authorization", " d92d4xxxxxxxxxxxxx15f52")
.method("POST", HttpRequest.BodyPublishers.ofString("{\"device_ids\":[\"9007199254741037\",\"9007199254741038\",\"9007199254741039\"]}"))
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
}
}
import http.client
conn = http.client.HTTPSConnection("appdomain")
payload = "{\"device_ids\":[\"9007199254741037\",\"9007199254741038\",\"9007199254741039\"]}"
headers = {
'Content-Type': "application/json",
'Accept': "application/json",
'Authorization': " d92d4xxxxxxxxxxxxx15f52"
}
conn.request("POST", "/api/v1/mdm/announcements/{announcement_id}/devices", 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_device_ids=List();
data.put("device_ids",data_device_ids);
response = invokeUrl
[
url: "https://appDomain/api/v1/mdm/announcements/{announcement_id}/devices"
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/announcements/{announcement_id}/devices' -Method POST -Headers $headers -ContentType 'application/json' -Body '{"device_ids":["9007199254741037","9007199254741038","9007199254741039"]}'Sample Request Body Distribute announcement to 3 managed devices
Copied!
{
"device_ids": [
"9007199254741037",
"9007199254741038",
"9007199254741039"
]
}
▼ Show full
Sample Response: HTTP 204 204 No Content▼ Show full
Duration: 1 minute | Threshold: 30 | 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.