Skip to content

Contact

Deprecated

This API action deprecated and should not be used.

API base path: /tracker/contact

list

Gets all user's trackers with special grouping by "contacts".

examples

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

response

{
    "success": true,
    "contacts": [{<contact1>}, {<contact n>}],
    "trackers": [{<tracker1>}, {<tracker n>}]
}
  • contacts - all established contacts.
  • trackers - normal trackers belonging to current user.

where contact object is:

{
    "user_id": 12059,
    "first_name": "Adam",
    "middle_name": "James",
    "last_name": "Williams",
    "trackers": [{<tracker1>}, {<tracker n>}]
}
  • user_id - id of the user with which "contact" is established.
  • trackers - trackers belonging to "contact" which locations shared with current user. Click to see descriptions of type tracker.

errors

  • 201 – Not found in the database.

Last update: October 23, 2020