Request
To get a list of all devices that are registered with DMM, send a GET request to:
https://<host>:<port>/mib/v1/devices
This request can return a very large number of records. Use paging to limit the response size.
Headers
-
Authorization– Keycloak access token for a user with theoperatorRolerole (see Accessing operator APIs using Keycloak) -
nv-tenant-id– optional. The tenant whose devices you want. If you set it, the response contains only that tenant's devices, and anytenantIdinfilteris ignored. If you leave it out, the response contains the devices of all tenants.
Other arguments
All these arguments are query parameters:
-
limit– the number of records to return -
page– the page number to return (cannot be used withoutlimit)
For example:-
?limit=10returns the first 10 records. -
?limit=10&page=2returns the second 10 records.
-
-
offset– the number of records to skip -
filter– filters the output. A filter consists of one or more key/value pairs.
For example,-
?filter={"active":true} -
?filter={"active":true, "deviceOS":"ANDROID7_TABLET"}
-
-
sort– sorts the output. The sort expression consists of one or more key/value pairs, where the key is the name of the field to sort on, and the value is the order: 1 for ascending, -1 for descending.
For example:-
?sort="userId,1" -
?sort="userId,1,deviceId,1"
-
-
fields– the fields to include in the output.
For example:-
?fields="topicName,description"
-
Response
A successful request returns an HTTP 200 status.
If no devices match, the request still returns an HTTP 200 status, with totalRecords set to 0.
An unauthorised request returns an HTTP 401 status – for example, if the access token is invalid or has expired.
A forbidden request returns an HTTP 403 status – for example, if the access token is missing or the user does not have the operatorRole role.
A successful request generates a response that looks like this:
{
"totalRecords": 1,
"devices": [
{
"deviceId": "5fc9f023596f787fef9c43da",
"accountId": "5fc9f023596f787fef9c43dc",
"active": true,
"deviceHardwareType": "Mobile",
"deviceOS": "Android",
"msgPlatform": "fcm",
"userId": "5fc9f026996ecd7fe9cd07fe",
"queueRegistrations": [
{
"enabled": true,
"lastRegistrationDate": "2026-01-06T11:51:28.153Z",
"queueApplicationName": "arn:aws:sns:us-east-1:439108492018:app/GCM/test-app",
"queueApplicationARN": "arn:aws:sns:us-east-1:439108492018:app/GCM/test-app",
"queueRegistrationId": "dhWEWbW7fW8:APA91bGg2UsbUW_umaq55Gq96II0slf5ICeGgpu3bmH3BjBkKw4QshEiW7Nj71BAz0z1t0bkQ5jaVXHTihGcFk_uqfewF9MrFlA3PrVjfQ0Xv-ro8e-cn-HlpodP1Z4AehFljuoq5LB-",
"deviceQueueEndpointARN": "arn:aws:sns:us-east-1:439108492018:app/GCM/test-app/fa8fc99e-ac53-37b5-a64c-36b3c4bc730a"
}
],
"topics": [
"GlobalTopicForAllDevices",
"GlobalTopicForAndroidTV"
],
"tenantId": "primary-tenant_sub-tenant-1"
}
]
}
See also
For full details of this API, see the Device Messaging Manager (DMM) API documentation v1.