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

Trusted number

The phone numbers a device accepts SMS commands from.

A tracker's trusted numbers are the phone numbers trusted to command it by SMS.

The update operation replaces the whole list rather than adding to it, so send every number that should remain trusted and not only the new one. An empty array clears the list.

API actions

API base path: /tracker/trusted_number.


List trusted numbers

post
/tracker/trusted_number/list

Get the phone numbers trusted to command this tracker by SMS. Available to demo accounts.

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: 999199
Responses
200

The trusted numbers

application/json
successbooleanRead-onlyOptional

true if request finished successfully.

Example: true
liststring[]Optional

Trusted phone numbers, in international format without a leading +.

Example: ["496156680000","496156680001"]
post/tracker/trusted_number/list
POST /v2/tracker/trusted_number/list HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 21

{
  "tracker_id": 999199
}
{
  "success": true,
  "list": [
    "496156680000",
    "496156680001"
  ]
}

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.


Required sub-user rights: tracker_update.

Replace the trusted numbers

post
/tracker/trusted_number/update

Replaces the whole list of trusted numbers rather than adding to it. Send an empty array to clear it.

Requires the tracker_update right.

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: 999199
liststring[]Required

The complete new list of phone numbers, 10 to 15 digits each, in international format without a leading +.

Example: ["496156680001","496156680000"]
Responses
200

The list was replaced

application/json
successbooleanRead-onlyOptional

true if request finished successfully.

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

{
  "tracker_id": 999199,
  "list": [
    "496156680001",
    "496156680000"
  ]
}
{
  "success": true
}

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.

Last updated

Was this helpful?