For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
  • Nukio API
    • Authentication
    • Device
      • POSTfeature engineCutoff
      • POSTcreatedevice
      • POSTdeletedevice
      • POSTupdatedevice
      • GETdiagnosticall
      • GETgetallDevices
      • GETfirmwareUpdate
      • POSTupdateAddress
      • GETgetDevice
      • GETlatest
      • GETdiagnostic
      • GETlostVehicles
      • GETsend
      • GETgetDeviceActivations
      • GETcreateActivation
      • POSTfeature cargoAccess
      • GETdeviceMetadata
      • POSTupdatedevice cargoAccess
      • POSTupdatedevice engineCutoff
      • GETdeviceData
      • GETgetDeviceActivations range
      • GETdeviceData range
    • User
    • Geozone
    • Fleets
    • Notifications
    • Routes
    • Passengers
    • Account Status
    • Nukio SDK
LogoLogo
Nukio APIDevice

getallDevices

||View as Markdown|
GET
https://app.nukio.mx/api/v1/device/getalldevices/authorization
GET
/api/v1/device/getalldevices/authorization
$curl https://app.nukio.mx/api/v1/device/getalldevices/authorization \
> -H "authorization: <apiKey>"
200Device_getallDevices_example
1{
2 "devices": [
3 {
4 "state": {
5 "cargoaccess": {
6 "state": "0",
7 "onText": "on",
8 "offText": "off",
9 "displayName": "Cargo Access",
10 "pendingState": "1",
11 "isNegativeTriggered": false
12 },
13 "enginecutoff": {
14 "state": "0",
15 "onText": "on",
16 "offText": "off",
17 "displayName": "Engine Cutoff",
18 "pendingState": "1",
19 "isNegativeTriggered": false
20 }
21 },
22 "pinTag": "01",
23 "sensors": {
24 "ignition": {
25 "state": "0",
26 "onText": "on",
27 "offText": "off",
28 "displayName": "Ignition",
29 "isNegativeTriggered": false
30 },
31 "cargoaccess": {
32 "state": "0",
33 "onText": "on",
34 "offText": "off",
35 "displayName": "Cargo Access",
36 "pendingState": "1",
37 "isNegativeTriggered": false
38 },
39 "enginecutoff": {
40 "state": "0",
41 "onText": "on",
42 "offText": "off",
43 "displayName": "Engine Cutoff",
44 "pendingState": "1",
45 "isNegativeTriggered": false
46 }
47 },
48 "deviceID": "01",
49 "features": {
50 "cargoaccess": {
51 "states": {
52 "0": "Disallowed",
53 "1": "Allowed"
54 },
55 "displayText": "Cargo Access"
56 },
57 "enginecutoff": {
58 "states": {
59 "0": "Disabled",
60 "1": "Enabled"
61 },
62 "displayText": "Engine Cutoff"
63 }
64 },
65 "pinColor": "FF0000",
66 "deviceType": "SUNTECH",
67 "fuelLevels": [
68 "0.0",
69 "0.0",
70 "0.0",
71 "0.0"
72 ],
73 "authorities": {},
74 "deviceDriver": "",
75 "deviceUnique": "",
76 "deviceCreatedOn": 1774571293,
77 "equipmentTypeId": "suntech_st4315_fuel",
78 "fuelLevelAverage": "0.0",
79 "deviceDescription": "01",
80 "deviceDisplayName": "01",
81 "deviceNotifyEmail": "",
82 "equipmentTypeDesc": "Suntech ST4315 + Fuel",
83 "hasPendingCommands": "true",
84 "deviceLastGeozoneID": "",
85 "deviceLastHeartbeat": 1777490359,
86 "additionalPinDisplay": "",
87 "deviceLastValidSpeed": 0,
88 "deviceLastValidAddress": "",
89 "deviceLastValidHeading": 0,
90 "deviceLastValidLatitude": 26.923576,
91 "deviceLastValidLongitude": -101.423665,
92 "deviceLastValidTimestamp": 1777490359
93 },
94 {
95 "state": {
96 "cargoaccess": {
97 "state": "0",
98 "onText": "on",
99 "offText": "off",
100 "displayName": "Cargo Access",
101 "pendingState": "string",
102 "isNegativeTriggered": false
103 },
104 "enginecutoff": {
105 "state": "0",
106 "onText": "on",
107 "offText": "off",
108 "displayName": "Engine Cutoff",
109 "pendingState": "string",
110 "isNegativeTriggered": false
111 }
112 },
113 "pinTag": "",
114 "sensors": {
115 "ignition": {
116 "state": "0",
117 "onText": "on",
118 "offText": "off",
119 "displayName": "Ignition",
120 "isNegativeTriggered": false
121 },
122 "cargoaccess": {
123 "state": "0",
124 "onText": "on",
125 "offText": "off",
126 "displayName": "Cargo Access",
127 "pendingState": "string",
128 "isNegativeTriggered": false
129 },
130 "enginecutoff": {
131 "state": "0",
132 "onText": "on",
133 "offText": "off",
134 "displayName": "Engine Cutoff",
135 "pendingState": "string",
136 "isNegativeTriggered": false
137 },
138 "fuel": {
139 "state": "0",
140 "onText": "on",
141 "offText": "off",
142 "displayName": "Fuel Sensor",
143 "pendingState": null,
144 "isNegativeTriggered": true
145 },
146 "panic": {
147 "state": "0",
148 "onText": "on",
149 "offText": "off",
150 "displayName": "Panic",
151 "pendingState": null,
152 "isNegativeTriggered": true
153 }
154 },
155 "deviceID": "123456",
156 "features": {
157 "cargoaccess": {
158 "states": {
159 "0": "Disallowed",
160 "1": "Allowed"
161 },
162 "displayText": "Cargo Access"
163 },
164 "enginecutoff": {
165 "states": {
166 "0": "Disabled",
167 "1": "Enabled"
168 },
169 "displayText": "Engine Cutoff"
170 }
171 },
172 "pinColor": "FF0000",
173 "deviceType": "",
174 "fuelLevels": [],
175 "authorities": {},
176 "deviceDriver": "test Driver",
177 "deviceUnique": "123456",
178 "deviceCreatedOn": 1780092118,
179 "equipmentTypeId": "",
180 "fuelLevelAverage": "string",
181 "deviceDescription": "test",
182 "deviceDisplayName": "",
183 "deviceNotifyEmail": "",
184 "equipmentTypeDesc": "Default Mapping Template",
185 "hasPendingCommands": "false",
186 "deviceLastGeozoneID": "string",
187 "deviceLastHeartbeat": 0,
188 "additionalPinDisplay": "",
189 "deviceLastValidSpeed": 1,
190 "deviceLastValidAddress": "string",
191 "deviceLastValidHeading": 1,
192 "deviceLastValidLatitude": 1.1,
193 "deviceLastValidLongitude": 1.1,
194 "deviceLastValidTimestamp": 1
195 },
196 {
197 "state": {
198 "cargoaccess": {
199 "state": "0",
200 "onText": "on",
201 "offText": "off",
202 "displayName": "Cargo Access",
203 "pendingState": "string",
204 "isNegativeTriggered": false
205 },
206 "enginecutoff": {
207 "state": "string",
208 "onText": "string",
209 "offText": "string",
210 "displayName": "string",
211 "pendingState": "string",
212 "isNegativeTriggered": true
213 }
214 },
215 "pinTag": "",
216 "sensors": {
217 "ignition": {
218 "state": "string",
219 "onText": "string",
220 "offText": "string",
221 "displayName": "string",
222 "isNegativeTriggered": true
223 },
224 "cargoaccess": {
225 "state": "0",
226 "onText": "on",
227 "offText": "off",
228 "displayName": "Cargo Access",
229 "pendingState": "string",
230 "isNegativeTriggered": false
231 },
232 "enginecutoff": {
233 "state": "string",
234 "onText": "string",
235 "offText": "string",
236 "displayName": "string",
237 "pendingState": "string",
238 "isNegativeTriggered": true
239 },
240 "lockstatus": {
241 "state": "0",
242 "onText": "on",
243 "offText": "off",
244 "displayName": "Lock Status",
245 "pendingState": null,
246 "isNegativeTriggered": false
247 }
248 },
249 "deviceID": "lockalex",
250 "features": {
251 "cargoaccess": {
252 "states": {
253 "0": "Disallowed",
254 "1": "Allowed"
255 },
256 "displayText": "Cargo Access"
257 },
258 "enginecutoff": {
259 "states": {
260 "0": "Disabled",
261 "1": "Enabled"
262 },
263 "displayText": "Engine Cutoff"
264 }
265 },
266 "pinColor": "FF0000",
267 "deviceType": "JT701D",
268 "fuelLevels": [
269 ""
270 ],
271 "authorities": {},
272 "deviceDriver": "",
273 "deviceUnique": "8044530549",
274 "deviceCreatedOn": 1772141619,
275 "equipmentTypeId": "locker",
276 "fuelLevelAverage": "0.0",
277 "deviceDescription": "",
278 "deviceDisplayName": "",
279 "deviceNotifyEmail": "",
280 "equipmentTypeDesc": "Locker",
281 "hasPendingCommands": "false",
282 "deviceLastGeozoneID": "",
283 "deviceLastHeartbeat": 1774468703,
284 "additionalPinDisplay": "",
285 "deviceLastValidSpeed": 0,
286 "deviceLastValidAddress": "",
287 "deviceLastValidHeading": 0,
288 "deviceLastValidLatitude": 29.336777,
289 "deviceLastValidLongitude": -100.959302,
290 "deviceLastValidTimestamp": 1774468703
291 },
292 {
293 "state": {
294 "cargoaccess": {
295 "state": "0",
296 "onText": "on",
297 "offText": "off",
298 "displayName": "Cargo Access",
299 "pendingState": "string",
300 "isNegativeTriggered": false
301 },
302 "enginecutoff": {
303 "state": "0",
304 "onText": "on",
305 "offText": "off",
306 "displayName": "Engine Cutoff",
307 "pendingState": "1",
308 "isNegativeTriggered": false
309 }
310 },
311 "pinTag": "mvap",
312 "sensors": {
313 "ignition": {
314 "state": "0",
315 "onText": "on",
316 "offText": "off",
317 "displayName": "Ignition",
318 "isNegativeTriggered": false
319 },
320 "cargoaccess": {
321 "state": "0",
322 "onText": "on",
323 "offText": "off",
324 "displayName": "Cargo Access",
325 "pendingState": "string",
326 "isNegativeTriggered": false
327 },
328 "enginecutoff": {
329 "state": "0",
330 "onText": "on",
331 "offText": "off",
332 "displayName": "Engine Cutoff",
333 "pendingState": "1",
334 "isNegativeTriggered": false
335 }
336 },
337 "deviceID": "mvaprueb",
338 "features": {
339 "cargoaccess": {
340 "states": {
341 "0": "Disallowed",
342 "1": "Allowed"
343 },
344 "displayText": "Cargo Access"
345 },
346 "enginecutoff": {
347 "states": {
348 "0": "Disabled",
349 "1": "Enabled"
350 },
351 "displayText": "Engine Cutoff"
352 }
353 },
354 "pinColor": "FF0000",
355 "deviceType": "SUNTECH",
356 "fuelLevels": [
357 "0.0",
358 "0.0",
359 "0.0",
360 "0.0"
361 ],
362 "authorities": {},
363 "deviceDriver": "",
364 "deviceUnique": "",
365 "deviceCreatedOn": 1774554979,
366 "equipmentTypeId": "suntech_st4315_fuel",
367 "fuelLevelAverage": "0.0",
368 "deviceDescription": "mvaprueb",
369 "deviceDisplayName": "mvaprueb",
370 "deviceNotifyEmail": "",
371 "equipmentTypeDesc": "Suntech ST4315 + Fuel",
372 "hasPendingCommands": "true",
373 "deviceLastGeozoneID": "",
374 "deviceLastHeartbeat": 1779314230,
375 "additionalPinDisplay": "",
376 "deviceLastValidSpeed": 0,
377 "deviceLastValidAddress": "",
378 "deviceLastValidHeading": 0,
379 "deviceLastValidLatitude": 26.923576,
380 "deviceLastValidLongitude": -101.423664,
381 "deviceLastValidTimestamp": 1779314230
382 }
383 ],
384 "success": "1",
385 "geozones": {},
386 "status_code": "200",
387 "hasUpdateDevicePrivileges": true
388}
Was this page helpful?
Previous

diagnosticall

Next

firmwareUpdate

Built with

Authentication

authorizationstring
API Key authentication via header

Response headers

pragmastring
:statusstring
expiresstring
accept-rangesstring
cache-controlstring
x-frame-optionsstring
x-xss-protectionstring
x-application-contextstring
x-content-type-optionsstring

Response

OK
deviceslist of objects
successstring
geozonesobject
status_codestring
hasUpdateDevicePrivilegesboolean