FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

13340 questions

15854 answers

25643 comments

50340 members

0 votes
135 views 0 comments
by
On RMS, I found email event notification for device disconnected and connected.

When I use RMS API device management, instead of email, how can I receive API callback related to connection state?

1 Answer

0 votes
by

Hello,

All device alerts that have triggered, including Status change alerts (whenever a device changes its status from Online to Offline or vice versa) can be listed by using the '/alerts' API endpoint. 

If you wish to simply get the status (Online/offline) of a device you can use the '/devices' API endpoint to get a single device's status. For example, using "https://rms.teltonika-networks.com/api/devices/{YOUR_DEVICE_ID}?fields=status" will return that specific device's status (null - Not activated, 0 - Offline, 1 - Online).