Skip to content

Trusted number

API calls to interact with list of trusted numbers for trackers.

API actions

API base path: /tracker/trusted_number.

list

Gets list of trusted numbers for the specified tracker.

Parameters

name description type format
tracker_id ID of the tracker (aka "object_id"). Tracker must belong to authorized user and not be blocked. int 999199

Examples

curl -X POST 'https://api.navixy.com/v2/tracker/trusted_number/list' \
    -H 'Content-Type: application/json' \
    -d '{"hash": "a6aa75587e5c59c32d347da438505fc3"}'
https://api.navixy.com/v2/tracker/trusted_number/list?hash=a6aa75587e5c59c32d347da438505fc3

Response

{
    "success": true,
    "list": ["496156680000", "496156680001"]
}
  • list - List of strings containing trusted phone numbers in the international format without "+" sign.

Errors

  • 201 – Not found in the database - if there is no tracker with such ID belonging to authorized user.
  • 208 – Device blocked - if tracker exists but was blocked due to tariff restrictions or some other reason.

update

Replaces the list of trusted numbers for a specified tracker with the new one.

required sub-user rights: tracker_update.

Parameters

name description type format
tracker_id ID of the tracker (aka "object_id"). Tracker must belong to authorized user and not be blocked. int 999199
list Array of phone numbers (10-15 digits) represented as strings. string array ["496156680001", "496156680000"]

Examples

curl -X POST 'https://api.navixy.com/v2/tracker/trusted_number/update' \
    -H 'Content-Type: application/json' \
    -d '{"hash": "a6aa75587e5c59c32d347da438505fc3", "tracker_id": 265489, "list": ["496156680001", "496156680000"]}'

Response

{ "success": true }

Errors

  • 201 – Not found in the database - if there is no tracker with such ID belonging to authorized user.
  • 208 – Device blocked - if tracker exists but was blocked due to tariff restrictions or some other reason.

Last update: October 16, 2024