Contact us Login LIVE DEMO FREE TRIAL

list(…)

Get list of chat messages.

parameters:

name description type
tracker_id Id of the tracker (aka “object_id”). Tracker must belong to authorized user and not be blocked. Int
from optional, DateTime DateTime
to optional, DateTime DateTime
limit optional, limit int
ascending optional, order direction default true boolean

return:

{
    "success": true,
    "list":[...] //[array of messages]
}

Message is

{
  "id": 1,
  "submit_time": "2014-04-15 09:02:24", //submit time
  "update_time": null, //delivering time for outgoing messages
  "text": "incoming",
  "type": "INCOMING", //INCOMING or OUTGOING
  "status": "PENDING" //PENDING or DELIVERED,
  "employee_id": <int> //optional, nullable employee identifier

}

errors:

  • 201 – Not found in 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)
  • 214 – Requested operation or parameters are not supported by the device
  • 236 – Feature unavailable due to tariff restrictions (if one of the trackers has tariff without “chat” feature)

If you have more questions please contact our support team

Contacts

USA: +1 858 815 9045

Mexico: +52 334 1642158

UK: +44 808 1641499

Germany: +49 1573 5988250

Russia: +7 495 223 0427

Log in

Login

[clean-login]

CLOSE
Register

[clean-login-register]

CLOSE
Loading...