Skip to main content
All CollectionsAPIs
[APIs] Device and evidence retrieval
[APIs] Device and evidence retrieval
Updated over 2 months 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

You can find your API key here.

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": "Elon",
"lastName": "Huang",
"emails": [
"elon@swifteam.com"
]
},
"deviceInfo": {
"deviceName": "Mac Mini (DevOps)",
"status": "ACTIVE",
"osVersion": "14.6.1",
"osName": "macOS",
"osBuildVersion": "23G93",
"modelName": "Mac mini",
"modelId": "Macmini8,1",
"productName": "Macmini8,1",
"deviceType": "Desktop",
"serialNumber": "C07C91V7PJH7",
"deviceCapacity": 250,
"availableDeviceCapacity": 94
},
"mdmDeviceInfo": {
"mdm_LastEnrolledAt": "2023-12-04T14:37:52Z",
"mdm_LastPingAt": "2024-09-23T18:43:40.749Z",
"encryption": {
"encryptionStatus": "Encrypted",
"encryptionEnabled": true
}
},
"osQueryDeviceInfo": {
"os": {
"arch": "x86_64",
"build": "23G93",
"major": "14",
"minor": "6",
"name": "macOS",
"patch": "1",
"version": "14.6.1"
},
"hardware": {
"chipType": "",
"cpuType": "Quad-Core Intel Core i3",
"currentProcessorSpeed": "3.6 GHz",
"l2CacheCore": "256 KB",
"l3Cache": "6 MB",
"machineModel": "Macmini8,1",
"machineName": "Mac mini",
"modelNumber": "",
"modelSpec": {
"colors": [
"Spacegray",
"gold",
"silver"
],
"fullName": "Mac mini (2018)",
"imageURL": "https://support.apple.com/library/content/dam/edam/applecare/images/en_US/macmini/mac-mini-2018-space-gray.jpg",
"modelIdentifier": [
"Macmini8,1"
],
"newestOperatingSystem": "",
"partNumbers": [
"MRTR2xx/A",
"MRTT2xx/A",
"MXNF2xx/A",
"MXNG2xx/A"
],
"productYear": "2018",
"productYearInt": 2018,
"screenSize": "",
"techSpecsURL": "https://support.apple.com/kb/SP782",
"userGuideURL": "https://support.apple.com/guide/mac-mini/welcome/mac"
},
"numberProcessors": "4",
"physicalMemory": "8 GB"
},
"applicationInfo": [
{
"appName": "1Password Launcher.app",
"bundleName": "1Password Launcher",
"displayName": "",
"executable": "1Password Launcher",
"identifier": "com.1password.1password-launcher",
"info": "",
"lastOpenedTime": "1697071090.0",
"minimumSystemVersion": "10.15",
"path": "/Applications/1Password.app/Contents/Library/LoginItems/1Password Launcher.app",
"shortVersion": "1.0",
"version": "1",
"status": "Installed",
"installedDate": "2023-10-11T17:38:10Z"
}
],
"extension": {
"chromeExtension": [
{
"author": "",
"description": "Record your screen and camera with one click. Share that content in an instant with a link.",
"from_webstore": "true",
"identifier": "liecbddmkiiihnedobmlmillhodjkdmb",
"name": "Loom โ€“ Screen Recorder & Screen Capture",
"optional_permissions": "",
"path": "/Users/admin/Library/Application Support/Google/Chrome/Default/Extensions/liecbddmkiiihnedobmlmillhodjkdmb/5.5.52_0",
"permissions": "activeTab, alarms, contextMenus, cookies, desktopCapture, scripting, storage, tabCapture",
"version": "5.5.52"
}
]
}
},
"systemPolicy": {
"password": {
"minLength": 4,
"pinHistory": 0,
"allowSimple": true,
"maxInactivity": 0,
"maxGracePeriod": 0,
"minimumPasswordAge": 0,
"maximumPasswordAge": 0,
"minComplexChars": 0,
"maxFailedAttempts": 0,
"requireAlphanumeric": false,
"minutesUntilFailedLoginReset": 0,
"lockoutBadCount": 0,
"lockoutDuration": 0
},
"screenSaver": {
"idleTime": 0,
"askForPassword": true,
"askForPasswordDelay": 0,
"screenSaveActive": false,
"screenSaverExe": "",
"screenSaverGracePeriod": 0
}
}
}
],
"meta": {
"totalCount": 17,
"resultCount": 1,
"haveMore": true
}
}
Did this answer your question?