You are here: Home > API Reference > UEM > Devices > Fetch all unique device organizational tags

Fetch all unique device organizational tags

Required Permission: mdm.global.device.list

Retrieves complete list of unique tags assigned across all managed devices, enabling administrators to build dynamic filters and discover organizational grouping patterns for reporting.

GET
https://api.applivery.io/v1/organizations/{organizationId}/mdm/devices/tags
curl -X GET "https://api.applivery.io/v1/organizations/{organizationId}/mdm/devices/tags" \
  -H "Authorization: Bearer <YOUR_API_KEY>"
const response = await fetch("https://api.applivery.io/v1/organizations/{organizationId}/mdm/devices/tags", {
  method: "GET",
  headers: {
    Authorization: "Bearer <YOUR_API_KEY>",
  },
});

const data = await response.json();
import requests

response = requests.get(
    "https://api.applivery.io/v1/organizations/{organizationId}/mdm/devices/tags",
    headers={"Authorization": "Bearer <YOUR_API_KEY>"},
)

data = response.json()

Request

Send your API key in the request header authorization
Example: Authorization: Bearer <token>

organizationId string
required
Match pattern: ^(([a-fA-F0-9]{24})|([a-zA-Z0-9\\-]{3,}))$

segmentId integer
optional

Responses

200 Response application/json
status boolean optional
data object optional
items array [object] optional
value string optional
Tag text value used for grouping and filtering devices in organizational workflows and reporting.
≤ 256 characters
{
    "status": true,
    "data": {
        "items": [
            {
                "value": "sales"
            }
        ]
    }
}
401 Response application/json
status boolean optional
false
error object optional
code number optional
4001
message string optional
Unauthorized
{
    "status": false,
    "error": {
        "code": 4002,
        "message": "No auth token"
    }
}
404 Response application/json
status boolean optional
false
error object optional
code number optional
3001
message string optional
Entity not found
{
    "status": false,
    "error": {
        "code": 3001,
        "message": "Entity not found"
    }
}
Was this page helpful?