FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
212 views 0 comments
by anonymous
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 anonymous

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).