Using curl https://apiv4.olarm.co/api/v4/devices?accessToken=api_ACCESS_TOKEN provides the following output file (slighly sanistised).
{
"page": 1,
"pageLength": 40,
"pageCount": 1,
"search": "",
"data": [{
"deviceId": "XXXX-XXXX-XXXX-XXXX-XXXX",
"deviceName": "Home",
"deviceSerial": "AAANAN",
"deviceAlarmType": "paradox",
"deviceAlarmTypeDetail": null,
"deviceTimestamp": 9999,
"deviceStatus": "online",
"deviceState": {
"timestamp": 1675979853713,
"cmdRecv": 0,
"type": "",
"areas": ["stay"],
"areasDetail": [""],
"areasStamp": [9999],
"zones": ["c", "c", "c", "c", "c", "c", "c", "c", "c", "c", "c", "c", "c", "c", "c", "c"],
"zonesStamp": [9999, 9999, 9999, 9999, 9999, 9999, 9999, 9999, 9999, 9999, 9999, 9999, 9999, 9999, 9999, 9999],
"pgm": ["c", "c", "c", "c", "c", "c", "c", "c"],
"pgmOb": ["c", "c"],
"ukeys": [],
"power": {
"AC": "1",
"Batt": "1"
}
},
"deviceProfile": {
"areasLimit": 2,
"areasLabels": ["House", "Garden"],
"zonesLimit": 16,
"zonesLabels": ["PIR", "PIR", "BEAM", "ROOM", "BEAM", "PIR", "PIR", "PIR", "BEAM", "BEAM", "DOOR", "Zone12", "Zone13", "Zone14", "Zone15", "Zone16", "Zone17", "Zone18", "Zone19", "Zone 20", "Zone 21", "Zone 22", "Zone 23", "Zone 24", "Zone 25", "Zone 26", "Zone 27", "Zone 28", "Zone 29", "Zone 30", "Zone 31"],
"zonesTypes": [20, 20, 21, 20, 21, 20, 20, 20, 21, 21, 10, "", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"pgmLimit": 8,
"pgmLabels": ["Panic Radio", "Burglary Radio", "Status LED", "OpenClose Radio", "Output 05", "Output 06", "Output 07", "Output 08"],
"pgmControl": ["000", "000", "000", "000", "000", "000", "000", ""],
"pgmObLimit": 2,
"pgmObLabels": ["", ""],
"pgmObControl": ["000", "000"],
"ukeysLimit": 4,
"ukeysLabels": ["", "", "", ""],
"ukeysControl": [0, 0, 0, 0]
},
"deviceTriggers": {
"ver": 1,
"lastCheck": 9999,
"areasRemind": [
[99, 9999],
[0, 0]
],
"zonesIdle": [0, 0],
"zonesWatch": [
[12, 0]
]
},
"deviceTimezone": "Africa/Harare",
"deviceFirmware": "999.999"
}]
}