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

latest

||View as Markdown|
GET
https://app.nukio.mx/api/v1/eventdata/latest/:deviceID/authorization
GET
/api/v1/eventdata/latest/:deviceID/authorization
$curl https://app.nukio.mx/api/v1/eventdata/latest/mvaprueb/authorization \
> -H "authorization: <apiKey>" \
> -H "Content-Type: application/json"
200Device_latest_example
1{
2 "success": "1",
3 "geozones": {},
4 "metadata": [
5 {
6 "speed": 0,
7 "address": "Av. Universidad 1234, Monterrey, NL, Mexico",
8 "deviceID": "mvaprueb",
9 "latitude": 25.686614,
10 "pinColor": "FF0000",
11 "geozoneID": "gz-001",
12 "longitude": -100.316113,
13 "timestamp": 1712000000,
14 "statusCode": 61472,
15 "creationTime": 1712003600,
16 "deviceDescription": "mvaprueb 'mvap' GPS Tracker",
17 "statusDescription": "Location update",
18 "geozoneDescription": "Monterrey Central Zone",
19 "pinTag": null
20 },
21 {
22 "speed": 5,
23 "address": "Calle Hidalgo 567, Monterrey, NL, Mexico",
24 "deviceID": "mvaprueb",
25 "latitude": 25.687,
26 "pinColor": "FF0000",
27 "geozoneID": "gz-002",
28 "longitude": -100.315,
29 "timestamp": 1711999940,
30 "statusCode": 61472,
31 "creationTime": 1712003540,
32 "deviceDescription": "mvaprueb 'mvap' GPS Tracker",
33 "statusDescription": "Location update",
34 "geozoneDescription": "Monterrey Downtown",
35 "pinTag": null
36 },
37 {
38 "speed": 3,
39 "address": "Av. Constitución 890, Monterrey, NL, Mexico",
40 "deviceID": "mvaprueb",
41 "latitude": 25.6868,
42 "pinColor": "FF0000",
43 "geozoneID": "gz-002",
44 "longitude": -100.3155,
45 "timestamp": 1711999880,
46 "statusCode": 61472,
47 "creationTime": 1712003480,
48 "deviceDescription": "mvaprueb 'mvap' GPS Tracker",
49 "statusDescription": "Location update",
50 "geozoneDescription": "Monterrey Downtown",
51 "pinTag": null
52 },
53 {
54 "speed": 0,
55 "address": "Parque Fundidora, Monterrey, NL, Mexico",
56 "deviceID": "mvaprueb",
57 "latitude": 25.6865,
58 "pinColor": "FF0000",
59 "geozoneID": "gz-003",
60 "longitude": -100.3148,
61 "timestamp": 1711999820,
62 "statusCode": 61472,
63 "creationTime": 1712003420,
64 "deviceDescription": "mvaprueb 'mvap' GPS Tracker",
65 "statusDescription": "Location update",
66 "geozoneDescription": "Fundidora Park",
67 "pinTag": null
68 },
69 {
70 "speed": 0,
71 "address": "Av. Constitución 123, Monterrey, NL, Mexico",
72 "deviceID": "mvaprueb",
73 "latitude": 25.6863,
74 "pinColor": "FF0000",
75 "geozoneID": "gz-003",
76 "longitude": -100.3145,
77 "timestamp": 1711999760,
78 "statusCode": 61472,
79 "creationTime": 1712003360,
80 "deviceDescription": "mvaprueb 'mvap' GPS Tracker",
81 "statusDescription": "Location update",
82 "geozoneDescription": "Fundidora Park",
83 "pinTag": null
84 },
85 {
86 "speed": 0,
87 "address": "Av. Constitución 456, Monterrey, NL, Mexico",
88 "deviceID": "mvaprueb",
89 "latitude": 25.6861,
90 "pinColor": "FF0000",
91 "geozoneID": "gz-004",
92 "longitude": -100.3142,
93 "timestamp": 1711999700,
94 "statusCode": 61472,
95 "creationTime": 1712003300,
96 "deviceDescription": "mvaprueb 'mvap' GPS Tracker",
97 "statusDescription": "Location update",
98 "geozoneDescription": "Industrial Zone",
99 "pinTag": null
100 },
101 {
102 "speed": 0,
103 "address": "Av. Constitución 789, Monterrey, NL, Mexico",
104 "deviceID": "mvaprueb",
105 "latitude": 25.6859,
106 "pinColor": "FF0000",
107 "geozoneID": "gz-004",
108 "longitude": -100.3139,
109 "timestamp": 1711999640,
110 "statusCode": 61472,
111 "creationTime": 1712003240,
112 "deviceDescription": "mvaprueb 'mvap' GPS Tracker",
113 "statusDescription": "Location update",
114 "geozoneDescription": "Industrial Zone",
115 "pinTag": null
116 },
117 {
118 "speed": 0,
119 "address": "Av. Constitución 101, Monterrey, NL, Mexico",
120 "deviceID": "mvaprueb",
121 "latitude": 25.6857,
122 "pinColor": "FF0000",
123 "geozoneID": "gz-005",
124 "longitude": -100.3136,
125 "timestamp": 1711999580,
126 "statusCode": 61472,
127 "creationTime": 1712003180,
128 "deviceDescription": "mvaprueb 'mvap' GPS Tracker",
129 "statusDescription": "Location update",
130 "geozoneDescription": "Residential Area",
131 "pinTag": null
132 },
133 {
134 "speed": 0,
135 "address": "Av. Constitución 202, Monterrey, NL, Mexico",
136 "deviceID": "mvaprueb",
137 "latitude": 25.6855,
138 "pinColor": "FF0000",
139 "geozoneID": "gz-005",
140 "longitude": -100.3133,
141 "timestamp": 1711999520,
142 "statusCode": 61472,
143 "creationTime": 1712003120,
144 "deviceDescription": "mvaprueb 'mvap' GPS Tracker",
145 "statusDescription": "Location update",
146 "geozoneDescription": "Residential Area",
147 "pinTag": null
148 },
149 {
150 "speed": 0,
151 "address": "Av. Constitución 303, Monterrey, NL, Mexico",
152 "deviceID": "mvaprueb",
153 "latitude": 25.6853,
154 "pinColor": "FF0000",
155 "geozoneID": "gz-006",
156 "longitude": -100.313,
157 "timestamp": 1711999460,
158 "statusCode": 61472,
159 "creationTime": 1712003060,
160 "deviceDescription": "mvaprueb 'mvap' GPS Tracker",
161 "statusDescription": "Location update",
162 "geozoneDescription": "Commercial District",
163 "pinTag": null
164 }
165 ],
166 "status_code": "200"
167}
Was this page helpful?
Previous

getDevice

Next

diagnostic

Built with

Authentication

authorizationstring
API Key authentication via header

Path parameters

deviceIDstringRequired
Device ID number

Response headers

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

Response

OK
successstring
geozonesobject
metadatalist of objects
status_codestring