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

Chat

Text messages exchanged between a supervisor and the person carrying a tracker.

Chat carries text messages between a supervisor and whoever is holding the tracker, usually through the mobile application on the same device. It gives a dispatcher a way to reach a driver without a phone call, and leaves a record of what was said.

Each message records its direction, its delivery status, and the employee it is associated with.

API actions

API base path: /tracker/chat.

Date and time values follow the platform formats.


List chat messages

post
/tracker/chat/list

Get chat messages for one tracker. Defaults to the last seven days when no period is given.

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
tracker_idintegerRequired

ID of the tracker, also known as the object ID. Must belong to the current account and not be blocked.

Example: 123456
fromstringOptional

Optional. Start of the period. Defaults to seven days ago.

Example: 2026-08-24 09:00:00
tostringOptional

Optional. End of the period. Defaults to now.

Example: 2026-08-24 09:00:00
limitinteger · max: 1024Optional

Optional. Maximum messages to return. Both the default and the maximum are 1024.

Example: 1024
ascendingbooleanOptional

Optional. Default true. Order from oldest message to newest.

Responses
200

The messages

application/json
successbooleanRead-onlyOptional

true if request finished successfully.

Example: true
post/tracker/chat/list
POST /v2/tracker/chat/list HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 107

{
  "tracker_id": 123456,
  "from": "2026-08-24 09:00:00",
  "to": "2026-08-24 09:00:00",
  "limit": 1024,
  "ascending": true
}
{
  "success": true,
  "list": [
    {
      "id": 1,
      "submit_time": "2014-04-15 09:02:24",
      "update_time": null,
      "text": "text of message",
      "type": "INCOMING",
      "status": "PENDING",
      "employee_id": null
    }
  ]
}

Errors

These errors come in addition to the general error codes:

  • 201 - No tracker with this ID belongs to the account.

  • 208 - The tracker exists but is blocked, normally because its tariff ended.

  • 214 - The device does not support this operation.

  • 236 - The tariff does not include the chat feature.


Mark all messages read

post
/tracker/chat/mark_read_all

Mark every incoming message read.

trackers is optional, and omitting it marks messages read on every tracker on the account. There is no dry run and no undo, so send the list unless you genuinely mean all of them.

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
trackersinteger[]Optional

Optional. Tracker IDs. Omit to affect every tracker on the account.

Example: [999199,999919]
Responses
200

The messages were marked read

application/json
successbooleanRead-onlyOptional

true if request finished successfully.

Example: true
post/tracker/chat/mark_read_all
POST /v2/tracker/chat/mark_read_all HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 28

{
  "trackers": [
    999199,
    999919
  ]
}
{
  "success": true
}

Errors

These errors come in addition to the general error codes:

  • 201 - Not found in the database.


Mark messages read

post
/tracker/chat/mark_read

Mark one or several incoming messages as read.

Use one of message_id and message_ids. In practice either works on its own and sending both is accepted rather than refused, so treat the single-parameter rule as guidance, not as enforcement.

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
message_idintegerOptional

ID of a single incoming message.

Example: 123
message_idsinteger[]Optional

IDs of several incoming messages.

Example: [123,213]
Responses
200

The messages were marked read

application/json
successbooleanRead-onlyOptional

true if request finished successfully.

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

{
  "message_id": 123,
  "message_ids": [
    123,
    213
  ]
}
{
  "success": true
}

Errors

These errors come in addition to the general error codes:

  • 201 - No such message.


Send a chat message

post
/tracker/chat/send

Send a chat message to one tracker.

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
tracker_idintegerRequired

ID of the tracker, also known as the object ID. Must belong to the current account and not be blocked.

Example: 123456
messagestring · max: 20000Required

Message text.

Example: Hello World
Responses
200

The message was submitted

application/json
successbooleanRead-onlyOptional

true if request finished successfully.

Example: true
idintegerOptional

ID of the submitted message.

Example: 222
post/tracker/chat/send
POST /v2/tracker/chat/send HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 45

{
  "tracker_id": 123456,
  "message": "Hello World"
}
{
  "success": true,
  "id": 222
}

Errors

These errors come in addition to the general error codes:

  • 201 - No tracker with this ID belongs to the account.

  • 208 - The tracker exists but is blocked, normally because its tariff ended.

  • 214 - The device does not support this operation.

  • 236 - The tariff does not include the chat feature.


Send a chat message to several trackers

post
/tracker/chat/broadcast

Send the same message to many trackers at once.

The response reports delivery per tracker rather than failing as a whole, so read not_sent_to even on success.

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
trackersinteger[] · max: 300Required

Tracker IDs. At most 300.

Example: [999199,999919]
messagestring · max: 20000Required

Message text.

Example: Hello World
Responses
200

The broadcast result

application/json
successbooleanRead-onlyOptional

true if request finished successfully.

Example: true
sent_tointeger[]Optional

Trackers the message reached.

not_sent_tointeger[]Optional

Trackers the message failed to reach.

post/tracker/chat/broadcast
POST /v2/tracker/chat/broadcast HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 52

{
  "trackers": [
    999199,
    999919
  ],
  "message": "Hello World"
}
{
  "success": true,
  "sent_to": [
    1
  ],
  "not_sent_to": [
    1
  ]
}

Errors

These errors come in addition to the general error codes:

  • 217 - The list names trackers that do not exist, are blocked, or lack the required tariff feature.

  • 221 - The device limit of the telematics service provider (TSP) is exceeded.


Read last message times

post
/tracker/chat/updated/list

Get the time of the most recent chat message for each of the given trackers, so a client can tell which conversations have moved without fetching them.

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
trackersinteger[] · max: 300Required

Tracker IDs. At most 300.

Example: [999199,999919]
Responses
200

Last message times

application/json
successbooleanRead-onlyOptional

true if request finished successfully.

Example: true
post/tracker/chat/updated/list
POST /v2/tracker/chat/updated/list HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 28

{
  "trackers": [
    999199,
    999919
  ]
}
{
  "success": true,
  "value": {
    "ANY_ADDITIONAL_PROPERTY": "text"
  }
}

Errors

These errors come in addition to the general error codes:

  • 217 - The list names trackers that do not exist, are blocked, or lack the required tariff feature.

  • 221 - The device limit of the TSP is exceeded.


Count unread messages

post
/tracker/chat/unread/count

Get the number of unread chat messages, grouped by tracker. Takes no parameters and covers the whole account.

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
objectOptional
Responses
200

Unread counts

application/json
successbooleanRead-onlyOptional

true if request finished successfully.

Example: true
post/tracker/chat/unread/count
POST /v2/tracker/chat/unread/count HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 2

{}
{
  "success": true,
  "value": {
    "ANY_ADDITIONAL_PROPERTY": 1
  }
}

Errors

These errors come in addition to the general error codes:

  • 236 - No tracker on the account has a tariff including the chat feature.

Last updated

Was this helpful?