Tag
Labels applied across entity types, used to group and find things that belong together.
A tag is a label attached to an entity so that related things can be found together. One tag can span types, so a "north depot" tag can sit on places, geofences, employees, tasks, trackers, and vehicles at once, and tag/search then returns all of them grouped by type.
For a walkthrough, see how to use tags.
Tag object
Tagged entity types
A tag can be bound to any of these:
placetasktask_scheduleemployeevehiclezonetracker
API actions
API base path: /tag.
Operations that list no errors of their own return only the general error codes.
Required sub-user rights: tag_update.
Create a tag, and return its ID.
Also accepts GET with the same parameters as query-string values.
Requires the tag_update right.
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.
The created tag
true if request finished successfully.
trueID of the new tag.
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 response object
POST /v2/tag/create HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 69
{
"tag": {
"id": 1,
"avatar_file_name": null,
"name": "text",
"color": "text"
}
}{
"success": true,
"id": 1
}Required sub-user rights: tag_update.
Delete one tag or several by ID.
Give either tag_id or tag_ids. A request with neither reports a missing parameter named has_at_least_one_tag_id, which is the internal name of the validation group rather than a parameter you can send; it carries a message naming the two real choices.
The two forms differ in more than shape. tag_id reports error 201 when the tag does not exist, and tag_ids does not: bulk deletion is silent about IDs it could not find.
Also accepts GET with the same parameters as query-string values.
Requires the tag_update right.
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 tag to delete. Use this or tag_ids, not both.
IDs of tags to delete. Use this or tag_id, not both. Missing IDs are ignored rather than reported.
Tags deleted
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 response object
POST /v2/tag/delete HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 26
{
"tag_id": 1,
"tag_ids": [
1
]
}{
"success": true
}Errors
These errors come in addition to the general error codes:
201 - Not found in the database, when no tag has the given ID. This does not occur when
tag_idsis given, because deletion is silent in that case.
List the tags of the current user.
Callable with an empty body. Also accepts GET.
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. Filter over the tag name. 3 to 60 characters, or null.
Matching tags
true if request finished successfully.
trueTotal number of tags found. Returned live, and not listed in the published response example.
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 response object
POST /v2/tag/list HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 17
{
"filter": "text"
}{
"success": true,
"list": [
{
"id": 1,
"avatar_file_name": null,
"name": "text",
"color": "text"
}
],
"count": 1
}The result is grouped by tagged entity type rather than returned as one list.
Find the entities carrying all of the given tags.
The result is grouped by entity type rather than returned as one list, so each group holds objects of that type. Restrict which groups come back with entity_types.
Also accepts GET with the same parameters as query-string values.
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.
Tags to search for. An entity must carry all of them to match. Must not be empty.
Entities carrying all the given tags
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 response object
POST /v2/tag/search HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 40
{
"tag_ids": [
1
],
"entity_types": [
"place"
]
}{
"success": true,
"result": {
"place": [
{
"id": 1,
"icon_id": null,
"avatar_file_name": null,
"location": {
"lat": 1,
"lng": 1,
"address": "text",
"radius": 1
},
"fields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"label": "text",
"description": null,
"tags": [
1
],
"external_id": null,
"files": [
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
]
}
],
"task": [
{
"id": 1,
"user_id": 1,
"tracker_id": null,
"location": {
"lat": 1,
"lng": 1,
"address": "text",
"radius": 1
},
"label": "text",
"description": "text",
"creation_date": "text",
"from": "2026-08-24 09:00:00",
"to": "2026-08-24 09:00:00",
"external_id": null,
"status": "unassigned",
"status_change_date": "text",
"max_delay": 1,
"min_stay_duration": 1,
"min_arrival_duration": 1,
"arrival_date": null,
"stay_duration": 1,
"origin": "manual",
"tags": [
1
],
"type": "task",
"form": {
"id": 1,
"label": "text",
"description": "text",
"fields": [
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"created": "text",
"submit_in_zone": true,
"task_id": null,
"checkin_id": null,
"tracker_id": null,
"template_id": null,
"template_version": null,
"values": null,
"submitted": null,
"submit_location": {
"lat": 1,
"lng": 1,
"address": "text"
}
},
"form_template_id": 1,
"fields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"files": [
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
]
}
],
"task_schedule": [
{
"id": 1,
"user_id": 1,
"tracker_id": null,
"label": "text",
"description": "text",
"location": {
"lat": 1,
"lng": 1,
"address": "text",
"radius": 1
},
"from_time": "text",
"duration": 1,
"max_delay": 1,
"min_stay_duration": 1,
"min_arrival_duration": 1,
"parameters": {
"type": "weekdays",
"weekdays": [
1
],
"month_days": [
1
]
},
"tags": [
1
],
"form_template_id": null,
"fields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"type": "task",
"files": [
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
]
}
],
"employee": [
{
"id": null,
"tracker_id": null,
"first_name": "text",
"middle_name": "text",
"last_name": "text",
"email": "text",
"phone": "text",
"driver_license_number": "text",
"driver_license_cats": "text",
"driver_license_issue_date": null,
"driver_license_valid_till": null,
"hardware_key": null,
"icon_id": null,
"avatar_file_name": null,
"department_id": null,
"location": {
"lat": 1,
"lng": 1,
"address": "text",
"radius": 1
},
"personnel_number": "text",
"ssn": "text",
"tags": [
1
]
}
],
"vehicle": [
{
"id": 1,
"tracker_id": 1,
"tracker_label": "text",
"label": "text",
"icon_color": "1E96DC",
"status_id": null,
"trailer_reg_number": "text",
"max_speed": null,
"model": "text",
"type": "truck",
"subtype": null,
"garage_id": null,
"garage_organization_name": "text",
"trailer": "text",
"manufacture_year": null,
"color": "text",
"additional_info": "text",
"reg_number": "text",
"vin": "text",
"chassis_number": "text",
"frame_number": "text",
"payload_weight": null,
"payload_height": null,
"payload_length": null,
"payload_width": null,
"passengers": null,
"gross_weight": null,
"fuel_type": "petrol",
"fuel_grade": "text",
"norm_avg_fuel_consumption": null,
"fuel_tank_volume": null,
"fuel_cost": null,
"wheel_arrangement": "text",
"tyre_size": "text",
"tyres_number": null,
"liability_insurance_policy_number": "text",
"liability_insurance_valid_till": null,
"free_insurance_policy_number": "text",
"free_insurance_valid_till": null,
"icon_id": null,
"avatar_file_name": null,
"tags": [
1
]
}
],
"zone": [
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"tracker": [
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
]
}
}Required sub-user rights: tag_update.
Update a tag. Pass a full tag object including its id.
avatar_file_name cannot be set here: it is changed through tag/avatar/upload.
Also accepts GET with the same parameters as query-string values.
Requires the tag_update right.
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.
Tag updated
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 response object
POST /v2/tag/update HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 69
{
"tag": {
"id": 1,
"avatar_file_name": null,
"name": "text",
"color": "text"
}
}{
"success": true
}Errors
These errors come in addition to the general error codes:
201 - Not found in the database, when no tag has the given ID.
More in this section
Tag avatar
Last updated
Was this helpful?