Geolocation
Device geolocation history
Changed onReturns paginated geolocation history for a mobile device. Defaults to the last 7 days; the time window cannot exceed 7 days.
get/v2/device/{id}/geolocation/history
Request
- Base URLhttps://app.ninjarmm.com (the document declares no server; this is the origin it was published from)
- Auth
- HTTP bearer
- or API key in cookie sessionKey
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
Device identifier
Query parameters
afternumber double
Include records on or after this timestamp (epoch seconds). Defaults to 7 days ago.
beforenumber double
Include records on or before this timestamp (epoch seconds). Defaults to now.
pageSizeinteger
Limit number of records per page
cursorstring
Cursor name
Response
Geolocation history
Example response
{
"results": [
{
"latitude": 28.260770164828532,
"longitude": -82.18508102335356,
"timestamp": 1778938364.507
}
]
}Changes
- info
endpoint added
- info