Skip to main content
All CollectionsAPIs
[APIs] Device and evidence retrieval
[APIs] Device and evidence retrieval
Updated over a week ago

On the settings page, you can retrieve your organization API token to pull Swif data into 3rd party platform.

Device and evidence retrieval

CURL request

curl --location 'https://api.swifteam.com/restful/organization/devices?q=angelo&offset=0&limit=100' \
--header 'Authorization: Bearer {TOKEN}'

Sample JSON response and its type.

{
"records": [
{
"isAntiVirusAppInstalled": true,
"isPasswordManagerAppInstalled": true,
"isActive": true,
"owner": {
"firstName": "Angelo",
"lastName": "Huang",
"emails": [
"angelo@swifteam.com",
"angelohuang@gmail.com"
]
},
"deviceInfo": {
"deviceName": "Angelo’s MacBook Pro",
"status": "ACTIVE",
"osVersion": "14.4.1",
"osName": "macOS",
"osBuildVersion": "23E224",
"modelName": "MacBook Pro",
"modelId": "MacBookPro18,1",
"productName": "MacBookPro18,1",
"deviceType": "Laptop",
"serialNumber": "H070992XF6",
"deviceCapacity": 994,
"availableDeviceCapacity": 316
},
"mdmDeviceInfo": {
"mdm_LastEnrolledAt": "2024-05-01T19:27:39.714Z",
"mdm_LastPingAt": "2024-07-11T22:15:51.191Z",
"encryption": {
"encryptionStatus": "Encrypted",
"encryptionEnabled": true
}
},
"osQueryDeviceInfo": {
"os": {
"arch": "arm64",
"build": "23E224",
"major": "14",
"minor": "4",
"name": "macOS",
"patch": "1",
"version": "14.4.1"
},
"hardware": {
"chipType": "Apple M1 Pro",
"cpuType": "",
"currentProcessorSpeed": "",
"l2CacheCore": "",
"l3Cache": "",
"machineModel": "MacBookPro18,1",
"machineName": "MacBook Pro",
"modelNumber": "MK193LL/A",
"modelSpec": {
"colors": [
"Silver",
"spacegray"
],
"fullName": "MacBook Pro (16-inch, 2021)",
"imageURL": "https://support.apple.com/library/content/dam/edam/applecare/images/en_US/macbookpro/macbook-pro-2021-16in.png",
"modelIdentifier": [
"MacBookPro18,1",
"MacBookPro18,2"
],
"newestOperatingSystem": "",
"partNumbers": [
"MK183xx/A",
"MK193xx/A",
"MK1A3xx/A",
"MK1E3xx/A",
"MK1F3xx/A",
"MK1H3xx/A"
],
"productYear": "2021",
"productYearInt": 2021,
"screenSize": "16-inch",
"techSpecsURL": "https://support.apple.com/kb/SP858",
"userGuideURL": "https://support.apple.com/guide/macbook-pro/welcome/mac"
},
"numberProcessors": "proc 10:8:2",
"physicalMemory": "16 GB"
},
"applicationInfo": [
{
"appName": "Adobe Illustrator.app",
"bundleName": "Illustrator",
"displayName": "Adobe Illustrator",
"executable": "Adobe Illustrator",
"identifier": "com.adobe.illustrator",
"info": "",
"lastOpenedTime": "-1.0",
"minimumSystemVersion": "10.4.6",
"path": "/Applications/Adobe Illustrator 2021/Adobe Illustrator.app",
"shortVersion": "25.0.0",
"version": "25.0.0",
"status": "Installed",
"installedDate": "2020-11-24T22:53:38Z"
},
...
]
}
}
],
"meta": {
"totalCount": 1,
"resultCount": 1,
"haveMore": false
}
}
Did this answer your question?