I have built an alarm app, I want to develop a module that when user wakes up, my app will post a message for user automatically. Which API should I use to complete this module?