For the complete documentation index, see llms.txt. This page is also available as Markdown.

History

The record of what trackers, assets, and users did, and the operations that read and mark it.

The event history is the Navixy platform's record of what happened: a rule that fired, a device that went offline, a user who changed something. It is what a notification feed is built from, and what a reader consults after the fact.

History is read through several lists, split by what the events are about: trackers, assets, and the account's own users. The operations here work on individual entries, reading one and marking entries as read. Unread events covers the unread subset, and event types lists what an event can be.

Tracker history entry

The event types an entry's event field can carry come from history/type/list. Date and time values follow the platform formats.

An entry can also have files: the camera recordings and photos uploaded to Navixy that start within 10 seconds before or after the event, such as the clip a dashcam recorded on a harsh braking. To get them, set add_tracker_files to true on the request. The caller needs the video_monitoring right, or the flag is ignored. The objects in files are described on the Video page.

For a walkthrough, see how to work with notifications.

API actions

API base path: /history.

Operations that list no errors of their own return only the general error codes.


Read history entry

post
/history/read

Return one history entry by ID.

Also accepts GET with the same parameters as query-string values.

Authorizations
AuthorizationstringRequired

Either a user session hash or an API key, with the "NVX " prefix, for example "NVX 22eac1c27af4be7b9d04da2ce1af111b". Obtain a session hash from the userAuth operation, or create an API key from the API keys operations. A small number of operations accept a session hash only and reject an API key with error code 4; each says so in its description.

Body
idinteger · int64 · min: 1Required

ID of the history entry.

add_tracker_labelbooleanOptional

Optional. Add the tracker label to the message field.

add_tracker_filesbooleanOptional

Optional. Default false. Add files to each entry: the camera recordings and photos uploaded to Navixy that start within 10 seconds before or after the event. Applied only when the caller has the video_monitoring right, and ignored otherwise.

Responses
200

The history entry

application/json
successbooleanRead-onlyOptional

true if request finished successfully.

Example: true
post/history/read
POST /v2/history/read HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 58

{
  "id": 1,
  "add_tracker_label": true,
  "add_tracker_files": true
}
{
  "success": true,
  "value": {
    "id": 1,
    "type": "socket",
    "is_read": true,
    "message": "text",
    "time": "text",
    "event": "text",
    "tracker_id": 1,
    "rule_id": null,
    "track_id": 1,
    "address": null,
    "location": {
      "lat": 1,
      "lng": 1,
      "precision": 1,
      "address": "text"
    },
    "assets": [
      {
        "id": 1,
        "type": "vehicle"
      }
    ],
    "files": [
      {
        "id": 1,
        "storage_id": 1,
        "user_id": 1,
        "subuser_id": null,
        "type": "image",
        "created": "text",
        "uploaded": "text",
        "name": "2026_11_02_08_15_00_22_861234567890123_HVIDEO_HD.mp4",
        "size": 1,
        "mime_type": "video/mp4",
        "storage_data": {
          "ANY_ADDITIONAL_PROPERTY": "anything"
        },
        "metadata": null,
        "state": "created",
        "previews": [
          {
            "ANY_ADDITIONAL_PROPERTY": "anything"
          }
        ],
        "download_url": "text",
        "view_url": "text",
        "file_source_key": "front_camera"
      }
    ],
    "extra": {
      "employee_full_name": "text",
      "vehicle_label": "text",
      "task_id": null,
      "parent_task_id": null,
      "counter_id": null,
      "service_task_id": null,
      "checkin_id": null,
      "place_ids": [
        1
      ],
      "places_total_count": 1,
      "last_known_location": true,
      "tracker_label": "text",
      "emergency": true,
      "zone_ids": [
        1
      ],
      "zone_labels": [
        "text"
      ],
      "proximity_object_id": 1,
      "employee_id": 1,
      "sensor_id": 1,
      "sensor_name": "text",
      "sensor_calculated_value": "text",
      "full_message": "text",
      "precision": 1,
      "command": {
        "name": "text",
        "param": null,
        "response": {
          "status": null,
          "body": null,
          "error": null,
          "success": null
        }
      },
      "ANY_ADDITIONAL_PROPERTY": "anything"
    }
  }
}

Errors

These errors come in addition to the general error codes:

  • 201 - Not found in the database.


Mark history entry read

post
/history/mark_read

Mark one history entry as read, setting its is_read to true.

Also accepts GET with the same parameters as query-string values.

Authorizations
AuthorizationstringRequired

Either a user session hash or an API key, with the "NVX " prefix, for example "NVX 22eac1c27af4be7b9d04da2ce1af111b". Obtain a session hash from the userAuth operation, or create an API key from the API keys operations. A small number of operations accept a session hash only and reject an API key with error code 4; each says so in its description.

Body
idinteger · min: 1Required

ID of the history entry to mark read.

Responses
200

Entry marked read

application/json
successbooleanRead-onlyOptional

true if request finished successfully.

Example: true
post/history/mark_read
POST /v2/history/mark_read HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 8

{
  "id": 1
}
{
  "success": true
}

Errors

These errors come in addition to the general error codes:

  • 201 - Not found in the database.


Mark all history read

post
/history/mark_read_all

Mark every unread history entry as read.

This takes no parameters and cannot be undone: there is no operation to mark an entry unread again. An empty request body is a complete, valid call, so it will act on the whole account.

Also accepts GET.

Authorizations
AuthorizationstringRequired

Either a user session hash or an API key, with the "NVX " prefix, for example "NVX 22eac1c27af4be7b9d04da2ce1af111b". Obtain a session hash from the userAuth operation, or create an API key from the API keys operations. A small number of operations accept a session hash only and reject an API key with error code 4; each says so in its description.

Responses
200

All entries marked read

application/json
successbooleanRead-onlyOptional

true if request finished successfully.

Example: true
post/history/mark_read_all
POST /v2/history/mark_read_all HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "success": true
}

More in this section

Tracker events

Endpoint
Method
What it does

POST

List tracker history

Event type

Endpoint
Method
What it does

POST

List history event types

Unread events

Endpoint
Method
What it does

POST

List unread history

POST

Count unread history

User events

Endpoint
Method
What it does

POST

List user history

Asset events

Endpoint
Method
What it does

POST

List asset history

POST

Count asset history

Last updated

Was this helpful?