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=C02WX0L0JG5H&offset=0&limit=1' \
--header 'Authorization: Bearer {TOKEN}'
Sample JSON response and its type
{
"records": [
{
"id": "6351ac3532000014004ad63f",
"isAntiVirusAppInstalled": true,
"isPasswordManagerAppInstalled": true,
"isActive": true,
"owner": {
"firstName": "Elon",
"lastName": "Huang",
"emails": [
"elon@swifteam.com"
]
},
"deviceInfo": {
"deviceName": "Admin’s MacBook Pro",
"status": "ACTIVE",
"osVersion": "15.7.1",
"osName": "macOS",
"osBuildVersion": "24G231",
"modelName": "MacBook Pro",
"modelId": "MacBookPro15,1",
"productName": "MacBookPro15,1",
"deviceType": "Laptop",
"serialNumber": "C02WX0L0JG5H",
"deviceCapacity": 250,
"availableDeviceCapacity": 230
},
"mdmDeviceInfo": {
"mdm_LastEnrolledAt": "2025-11-02T23:09:51.075Z",
"mdm_LastPingAt": "2025-11-14T06:00:20.961Z",
"encryption": {
"encryptionStatus": "Unencrypted",
"encryptionEnabled": false
}
},
"osQueryDeviceInfo": {
"os": {
"arch": "x86_64",
"build": "20G1427",
"major": "11",
"minor": "7",
"name": "macOS",
"patch": "10",
"version": "11.7.10"
},
"hardware": {
"chipType": "",
"cpuType": "Dual-Core Intel Core i5",
"currentProcessorSpeed": "2.4 GHz",
"l2CacheCore": "256 KB",
"l3Cache": "3 MB",
"machineModel": "MacBookPro6,2",
"machineName": "MacBook Pro",
"modelNumber": "",
"modelSpec": {
"colors": [],
"fullName": "MacBook Pro (15-inch, Mid 2010)",
"imageURL": "https://cdsassets.apple.com/live/7WUAS350/images/macbook-pro/macbook-pro-mid-2010-15in-device.jpg",
"modelIdentifier": [
"MacBookPro6,2"
],
"newestOperatingSystem": "macOS High Sierra",
"partNumbers": [
"MC373xx/A",
"MC372xx/A",
"MC371xx/A"
],
"productYear": "2010",
"productYearInt": 2010,
"screenSize": "15-inch",
"techSpecsURL": "https://support.apple.com/en-us/112605",
"userGuideURL": "https://cdsassets.apple.com/live/6GJYWVAV/user/ma1527_macbook_pro_15inch_mid2010.pdf"
},
"numberProcessors": "2",
"physicalMemory": "8 GB"
},
"applicationInfo": [
{
"appName": "WidgetAutoLauncher.app",
"bundleName": "WidgetAutoLauncher",
"displayName": "",
"executable": "WidgetAutoLauncher",
"identifier": "com.hisa.WidgetAutoLauncher",
"info": "",
"lastOpenedTime": "1723745849.3941",
"minimumSystemVersion": "10.15",
"path": "/Applications/LinWidget.app/Contents/Library/LoginItems/WidgetAutoLauncher.app",
"shortVersion": "1.1",
"version": "3",
"status": "Installed",
"installedDate": "0001-01-01T00:00:00Z",
"systemApp": false,
"isInDeviceManifest": false
},
...
],
"extension": {
"chromeExtension": [],
"safariExtension": [],
"firefoxAddon": []
}
},
"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": false,
"askForPasswordDelay": -1,
"screenSaveActive": false,
"screenSaverExe": "",
"screenSaverGracePeriod": 0
}
}
}
],
"meta": {
"totalCount": 1,
"resultCount": 1,
"haveMore": false
}
}