Retrieve command details
Required Permission: mdm.apple.command.get
Retrieves detailed information and execution status for a specific command by its identifier.
Request
authorization
Authorization: Bearer <token>
Responses
application/json
{
"status": true,
"data": {
"id": "507f1f77bcf86cd799439011",
"organization": "507f1f77bcf86cd799439012",
"admEnterprise": "507f1f77bcf86cd799439013",
"targetType": "device",
"targetId": "507f1f77bcf86cd799439014",
"mdmUser": "507f1f77bcf86cd799439015",
"UUID": "550e8400-e29b-41d4-a716-446655440000",
"status": "Pending",
"command": {
"RequestType": "DeviceInformation",
"Queries": [
"DeviceName",
"OSVersion"
]
},
"from": "configurationChanged",
"data": {
"DeviceName": "iPhone 13 Pro",
"OSVersion": "17.2.1"
},
"sentAt": "2026-02-10T12: 01:00Z",
"receivedAt": "2026-02-10T12: 01:15Z",
"triedAt": "2026-02-10T12: 01:30Z",
"canceledAt": "2026-02-10T12: 02:00Z",
"numTries": 3,
"groupName": "DeviceInformation",
"info": {
"build": "string"
},
"createdAt": "2026-02-10T12: 00:00Z",
"updatedAt": "2026-02-10T14: 30:00Z"
}
}
application/json
{
"status": false,
"error": {
"code": 4002,
"message": "No auth token"
}
}
application/json
{
"status": false,
"error": {
"code": 3001,
"message": "Entity not found"
}
}