gets the locations of all managed devices
get /api/mdm/devices/locations
https://{serverurl}/api/mdm/devices/locations
MDMOnDemand.MDMInventory.READCopied!
Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52
Maximum number of records to return in a single response. Used together with offset for pagination
Pagination continuation token returned by a previous response. Pass it to fetch the next page of results
Zero-based index of the first record to return. Used together with limit for pagination
Token used for delta/incremental fetches. Pass the token returned from a previous response to retrieve only items modified since that point
Value to search for. Must be used in combination with searchfield to specify which field is searched
Name of the field to search against. Used together with searchkey (e.g., name, email, udid)
Set to true to return apps from the allow list, false to return apps from the block list
Set to true to restrict results to apps purchased through the enterprise app portal (VPP/managed Google Play). Default: false
Free-text search string applied to the default searchable fields of the resource
Filter applications by their assignment scope. Allowed values: 1=All, 2=Assigned to groups, 3=Assigned to devices
Filter results by device platform. Allowed values: 1=iOS, 2=Android, 3=Windows, 4=macOS, 6=tvOS
When true, returns the last-known data even when the device is offline. Default: false
Start of the result range or time window (epoch milliseconds for time filters, zero-based index for ranges)
curl --request GET \
--url https://appdomain/api/mdm/devices/locations \
--header 'Accept: application/json' \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52'Map of device IDs to arrays of location objects containing latitude, longitude, added_time, and located_time
Array of locations for the device
Location object containing latitude, longitude, added_time, and located_time
Timestamp when the location was recorded on the server
Latitude of the device location
Longitude of the device location
Timestamp when the device was at the location
Location map for all managed devices
{
"deviceLocationMap": {
"9007199254741002": [
{
"added_time": "1523370360800",
"latitude": "37.7850",
"located_time": "1523370128600",
"longitude": "-122.4094"
}
],
"9007199254741001": [
{
"added_time": "1523370360750",
"latitude": "37.7749",
"located_time": "1523370128573",
"longitude": "-122.4194"
}
]
}
}
![]()
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.
© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.
© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.