Send Custom Push Notifications Using Postman And Pushover Jul 15, 2017 • 0 Comments With the latest update (v5.0) of Postman, we get many of the postman pro features for free. In this post I am going to use Postman Monitors and PushOver API for creating a daily push notification service. First things first, we need to break our task into set of HTTP requests to use postman collection. Service that has information Push that information to device(s) Step 1 can be any service talks HTTP. In this post we are going to use npm API. For my needs, I should get daily download count of my package nodeforces. So the request looks like GET https://api.npmjs.org/downloads/point/last-day/nodeforces So go ahead open Postman, Create a new collection and add this request and hit send. Now, we need to store the download count inside our environment. This can be done using postman.setEnviromentVariable. As you can see below, I have added my code inside the tests tab so that it runs after the request is completed. I also create an environment PushOver to save all the information related to this collection Alright, Now its time to head over to PushOver service. Go to https://pushover.net/ and create an account. Also download the PushOver app for your device. Take a note of the user key and store it inside the before created PushOver environment as “userkey”. Next, Create an application inside pushover that we can use to send notifications to our device. Copy the apptoken generated and store it inside Postman Environment as before. Now open Postman and create another HTTP POST request that sends a message to PushOver service with the payload. In this case, we send a message with the download count. For this request inside the pre-request scripts tab we create our message environment variable so that we can use it while sending the request. HTTP POST https://api.pushover.net/1/messages.json Now go to the body tab and fill the request params. Hit Send If everything goes as expected, you should receive a notification on your phone that looks like this, yay! Thats it. All that is left is to monitor the collection daily so that we get a notification everyday. Postman will run the collection every day for us!. Disclaimer: All of the above mentioned opinions are mine and not my employer(s). Did you face any issue during the process? Feel free to mention it in comments