Push Notification to a specific user/topic when receiving a specific data

Home - Push Notification to a specific user/topic when receiving a specific data

Michael Aditya asked 11 months ago

Hi, I’m wondering if it is possible for me to send a push notification automatically to a specific user/topic when mesosfer receiving a specific data, for instance, when my embedded system detects a motion. Thank you in advance for your help!

1 Answers
Badrullami Staff answered 11 months ago

Hi Aditya,
Yes, it’s possible to send push notification for spesific user. You can do that by using REST API. Please follow this documentation. Query filter user that received notification is based on field in your bucket Installation.

Hope it helps.
Thanks.
 

Michael Aditya replied 11 months ago

Hi Badrullami,
Thank you for your reply.
So, when I am sending the motion detected data from my embedded system via mesosfer’s mqtt, I should also do an HTTP POST with a header as specified in the REST API in order to send a push notification?

Your Answer