Get information about the commands sent to a given device ID. For more information on the available device status codes, visit Kandji’s documentation.
External DocumentationTo learn more, visit the Kandji documentation.

Parameters

ParameterDescription
Device IDThe device’s ID.

Example Output

{
	"commands": {
		"count": 0,
		"next": "string",
		"previous": "string",
		"results": [
			{
				"attempts": 0,
				"command_type": "string",
				"date_completed": "string",
				"date_requested": "string",
				"error_chain": [
					{
						"code": 12021,
						"domain": "MCMDMErrorDomain",
						"localized_description": "“ActivationLockBypassCode” is not a valid request type.",
						"us_english_description": "“ActivationLockBypassCode” is not a valid request type."
					}
				],
				"last_pushed": "string",
				"metadata": {},
				"priority": 0,
				"request_requires_network_tether": false,
				"request_type": "string",
				"status": 0,
				"user": {
					"first_name": "Apple",
					"last_name": "TESTTTTTT"
				},
				"uuid": "string"
			}
		]
	},
	"device_id": "string"
}

Workflow Library Example

Get Device Commands with Kandji and Send Results Via Email
Workflow LibraryPreview this Workflow on desktop