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.
Get chat messages for one tracker. Defaults to the last seven days when no period is given.
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.
ID of the tracker, also known as the object ID. Must belong to the current account and not be blocked.
123456Optional. Start of the period. Defaults to seven days ago.
2026-08-24 09:00:00Optional. End of the period. Defaults to now.
2026-08-24 09:00:00Optional. Maximum messages to return. Both the default and the maximum are 1024.
1024Optional. Default true. Order from oldest message to newest.
The messages
true if request finished successfully.
trueBad request. The response body carries the API-level error code in status.code. Validation failures also include an errors array naming each offending parameter.
Error 201: no tracker with this ID belongs to the account. Error 208: the tracker exists but is blocked, normally because its tariff ended. Error 214: the device does not support this operation. Error 236: the tariff does not include the chat feature.
Error response object
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 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.
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.
Optional. Tracker IDs. Omit to affect every tracker on the account.
[999199,999919]The messages were marked read
true if request finished successfully.
trueBad request. The response body carries the API-level error code in status.code. Validation failures also include an errors array naming each offending parameter.
Error 201: not found in the database.
Error response object
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 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.
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.
ID of a single incoming message.
123IDs of several incoming messages.
[123,213]The messages were marked read
true if request finished successfully.
trueBad request. The response body carries the API-level error code in status.code. Validation failures also include an errors array naming each offending parameter.
Error 201: no such message.
Error response object
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 to one tracker.
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.
ID of the tracker, also known as the object ID. Must belong to the current account and not be blocked.
123456Message text.
Hello WorldThe message was submitted
true if request finished successfully.
trueID of the submitted message.
222Bad request. The response body carries the API-level error code in status.code. Validation failures also include an errors array naming each offending parameter.
Error 201: no tracker with this ID belongs to the account. Error 208: the tracker exists but is blocked, normally because its tariff ended. Error 214: the device does not support this operation. Error 236: the tariff does not include the chat feature.
Error response object
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 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.
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.
Tracker IDs. At most 300.
[999199,999919]Message text.
Hello WorldThe broadcast result
true if request finished successfully.
trueTrackers the message reached.
Trackers the message failed to reach.
Bad request. The response body carries the API-level error code in status.code. Validation failures also include an errors array naming each offending parameter.
Error 217: the list names trackers that do not exist, are blocked, or lack the required tariff feature. Error 221: the device limit of the TSP is exceeded.
Error response object
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.
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.
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.
Tracker IDs. At most 300.
[999199,999919]Last message times
true if request finished successfully.
trueBad request. The response body carries the API-level error code in status.code. Validation failures also include an errors array naming each offending parameter.
Error 217: the list names trackers that do not exist, are blocked, or lack the required tariff feature. Error 221: the device limit of the TSP is exceeded.
Error response object
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.
Get the number of unread chat messages, grouped by tracker. Takes no parameters and covers the whole account.
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.
Unread counts
true if request finished successfully.
trueBad request. The response body carries the API-level error code in status.code. Validation failures also include an errors array naming each offending parameter.
Error 236: no tracker on the account has a tariff including the chat feature.
Error response object
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?